Define __ARM_NEON for aarch64 by default unless general_regs_only
authorIan Bolton <ian.bolton@arm.com>
Fri, 28 Feb 2014 14:27:08 +0000 (14:27 +0000)
committerIan Bolton <ibolton@gcc.gnu.org>
Fri, 28 Feb 2014 14:27:08 +0000 (14:27 +0000)
From-SVN: r208224

gcc/ChangeLog
gcc/config/aarch64/aarch64.h

index 6916348cd9cce53d33ba628a41549c550a1eef11..70af44a4991165936362a7b25c522544acb36a68 100644 (file)
@@ -1,3 +1,8 @@
+2014-02-28  Ian Bolton  <ian.bolton@arm.com>
+
+       * config/aarch64/aarch64.h: Define __ARM_NEON by default if
+       we are not using general regs only.
+
 2014-02-28  Richard Biener  <rguenther@suse.de>
 
        PR target/60280
index 13c424c298d12f4f9edf7d82d49ec770909b7dd3..fc21981ede0592e1ad39a4795b87ee805d26a89d 100644 (file)
@@ -32,6 +32,9 @@
       else                                             \
        builtin_define ("__AARCH64EL__");               \
                                                        \
+      if (!TARGET_GENERAL_REGS_ONLY)                   \
+       builtin_define ("__ARM_NEON");                  \
+                                                       \
       switch (aarch64_cmodel)                          \
        {                                               \
          case AARCH64_CMODEL_TINY:                     \