This patch fixes builtins' CMakeLists.txt and their VFP tests to check the standard macro defined in the ACLE for VFP support. It also enables the tests to be built and run for single-precision-only targets while builtins were built with double-precision support.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Following the ACLE is definitely preferable. One thing to verify is if gcc does support this correctly as well. IIRC, it does support __ARM_FP properly and this should be safe, but please do verify that.
Comment Actions
Thank you for reviewing! I checked the source code of gcc 5.1.0 (current minimum supported version to build LLVM) and it does support __ARM_FP.