[PATCH] D18963: PR27216: Only define __ARM_FEATURE_FMA when the target has VFPv4

Tim Northover via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 11 10:49:38 PDT 2016


t.p.northover added inline comments.

================
Comment at: test/Sema/arm_vfma.c:1
@@ -1,2 +1,2 @@
-// RUN: %clang_cc1 -triple thumbv7s-apple-ios7.0 -target-feature +neon -fsyntax-only -verify %s
+// RUN: %clang_cc1 -triple thumbv7s-apple-ios7.0 -target-feature +neon -target-feature +vfp4 -fsyntax-only -verify %s
 #include <arm_neon.h>
----------------
v7s is Swift, which has FMA. v7 for us is Cortex-A9, which I think also has FMA (not that it matters much these days).


http://reviews.llvm.org/D18963





More information about the cfe-commits mailing list