From 34f30f0f23c67f91e9bede1a7bcec73c4265d9ab Mon Sep 17 00:00:00 2001 From: Renlin Li Date: Wed, 22 Oct 2014 09:07:18 +0000 Subject: [PATCH] [ARM] Add ACLE 2.0 predefined marco __ARM_FEATURE_IDIV 2014-10-22 Renlin Li gcc/ * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __ARM_FEATURE_IDIV__. From-SVN: r216547 --- gcc/ChangeLog | 5 +++++ gcc/config/arm/arm.h | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4b066662a5b..c9a3a08d1fc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-10-22 Renlin Li + + * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define + __ARM_FEATURE_IDIV__. + 2014-10-22 Richard Biener * Makefile.in (s-match): Adjust dependencies to only catch diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 3623c70441e..ae5390a7148 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -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" -- 2.30.2