summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorKeith Walker <kwalker@arm.com>2017-11-30 11:38:56 +0000
committerKeith Walker <kwalker@arm.com>2017-11-30 11:38:56 +0000
commita4097075e243b9943be94a21e93e2f82655e9de3 (patch)
tree509e33730edc8bca87ca45e2f998498f5a9579f7 /llvm
parent24386867b8ac71b8870de9d6588ee6d2edd5f8ae (diff)
downloadbcm5719-llvm-a4097075e243b9943be94a21e93e2f82655e9de3.tar.gz
bcm5719-llvm-a4097075e243b9943be94a21e93e2f82655e9de3.zip
[ARM] disable FPU features when using soft floating point.
To be compatible with GCC if soft floating point is in effect any FPU specified is effectively ignored, eg, -mfloat-abi=soft -fpu=neon If any floating point features which require FPU hardware are enabled they must be disable. There was some support for doing this for NEON, but it did not handle VFP, nor did it prevent the backend from emitting the build attribute Tag_FP_arch describing the generated code as using the floating point hardware if a FPU was specified (even though soft float does not use the FPU). Disabling the hardware floating point features for targets which are compiling for soft float has meant that some tests which were incorrectly checking for hardware support also needed to be updated. In such cases, where appropriate the tests have been updated to check compiling for soft float and a non-soft float variant (usually softfp). This was usually because the target specified in the test defaulted to soft float. Differential Revision: https://reviews.llvm.org/D40256 llvm-svn: 319420
Diffstat (limited to 'llvm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud