r267869 - PR27216: Only define __ARM_FEATURE_FMA when the target has VFPv4

2016-04-28 Thread Silviu Baranga via cfe-commits
Author: sbaranga Date: Thu Apr 28 06:29:08 2016 New Revision: 267869 URL: http://llvm.org/viewvc/llvm-project?rev=267869&view=rev Log: PR27216: Only define __ARM_FEATURE_FMA when the target has VFPv4 Summary: According to the ACLE spec, "__ARM_FEATURE_FMA is defined to 1 if the hardware floating-

r268047 - [ARM] Guard the declarations of f16 to f32 vcvt intrinsics in arm_neon.h by testing __ARM_FP

2016-04-29 Thread Silviu Baranga via cfe-commits
Author: sbaranga Date: Fri Apr 29 10:03:32 2016 New Revision: 268047 URL: http://llvm.org/viewvc/llvm-project?rev=268047&view=rev Log: [ARM] Guard the declarations of f16 to f32 vcvt intrinsics in arm_neon.h by testing __ARM_FP Summary: Conversions between float and half are only available when