summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/builtins/floatdisf.c
diff options
context:
space:
mode:
authorAlina Sbirlea <asbirlea@google.com>2016-07-08 16:18:34 +0000
committerAlina Sbirlea <asbirlea@google.com>2016-07-08 16:18:34 +0000
commitb0b29c958aae86eab86edc00549929a8badd9b5c (patch)
tree26f3ffd26e0db04474999f71e9b31cc219e31710 /compiler-rt/lib/builtins/floatdisf.c
parent46df968326cb9d1aeeca388c0f9607661c9a6524 (diff)
downloadbcm5719-llvm-b0b29c958aae86eab86edc00549929a8badd9b5c.tar.gz
bcm5719-llvm-b0b29c958aae86eab86edc00549929a8badd9b5c.zip
Add runtime support for __cpu_model (__builtin_cpu_supports)
Summary: This aims to add support for __cpu_model and address Bug 25510. It uses the code from lib/Support/Host.cpp for cpu detection, and creates __cpu_model with that info. Tested on OSX, it builts successfully, but the current version does *not* resolve Bug 25510. The __cpu_model symbol is present in the library but it only gets loaded with -all_load. This patch will not land until this issue is clarified. Built on Linux as well (though libgcc is the default). The use of "asm" required -std=gnu99, hence the cmake change. Corrections on better addressing this are welcome. Note: See additional comments on D20988 (committed as r271921). Reviewers: llvm-commits, joerg, echristo, mehdi_amini Subscribers: mehdi_amini Differential Revision: http://reviews.llvm.org/D21033 llvm-svn: 274865
Diffstat (limited to 'compiler-rt/lib/builtins/floatdisf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud