[ARM] Add ACLE 2.0 predefined marco __ARM_FEATURE_IDIV
authorRenlin Li <renlin.li@arm.com>
Wed, 22 Oct 2014 09:07:18 +0000 (09:07 +0000)
committerJiong Wang <jiwang@gcc.gnu.org>
Wed, 22 Oct 2014 09:07:18 +0000 (09:07 +0000)
2014-10-22  Renlin Li <renlin.li@arm.com>

  gcc/
    * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define
    __ARM_FEATURE_IDIV__.

From-SVN: r216547

gcc/ChangeLog
gcc/config/arm/arm.h

index 4b066662a5b413fe29186f9760519bb2aa42ab2d..c9a3a08d1fc0dfb7b40ca69ee2178efde3ad216f 100644 (file)
@@ -1,3 +1,8 @@
+2014-10-22  Renlin Li <renlin.li@arm.com>
+
+       * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define
+       __ARM_FEATURE_IDIV__.
+
 2014-10-22  Richard Biener  <rguenther@suse.de>
 
        * Makefile.in (s-match): Adjust dependencies to only catch
index 3623c70441e68481421174398488ce4359b573ff..ae5390a714845a890d33e3c0403334c45060987d 100644 (file)
@@ -164,7 +164,10 @@ extern char arm_arch_name[];
            builtin_define ("__ARM_EABI__");            \
          }                                             \
        if (TARGET_IDIV)                                \
-         builtin_define ("__ARM_ARCH_EXT_IDIV__");     \
+         {                                             \
+            builtin_define ("__ARM_ARCH_EXT_IDIV__");  \
+            builtin_define ("__ARM_FEATURE_IDIV__");   \
+         }
     } while (0)
 
 #include "config/arm/arm-opts.h"