diff options
author | James Greenhalgh <james.greenhalgh@arm.com> | 2011-07-06 17:26:15 +0000 |
---|---|---|
committer | Janis Johnson <janis@gcc.gnu.org> | 2011-07-06 17:26:15 +0000 |
commit | c884924f5b8b5d43b4172df058f77db9ed4e4be7 (patch) | |
tree | ec197abdfa434b31a3200d44e958306c39d92881 /gcc | |
parent | bf5884559be4e9bfd8216516d540414dfede1d26 (diff) | |
download | gcc-c884924f5b8b5d43b4172df058f77db9ed4e4be7.zip gcc-c884924f5b8b5d43b4172df058f77db9ed4e4be7.tar.gz gcc-c884924f5b8b5d43b4172df058f77db9ed4e4be7.tar.bz2 |
arm.h (TARGET_CPU_CPP_BUILTINS): Add __ARM_FEATURE_DSP.
2011-07-06 James Greenhalgh <james.greenhalgh@arm.com>
* config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Add
__ARM_FEATURE_DSP.
From-SVN: r175925
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/arm/arm.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 38a8bcd..21f550c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-07-06 James Greenhalgh <james.greenhalgh@arm.com> + + * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Add + __ARM_FEATURE_DSP. + 2011-07-06 Basile Starynkevitch <basile@starynkevitch.net> * configure.ac (plugin-version.h): Generate diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index b0d26259..3810f9e 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -45,6 +45,8 @@ extern char arm_arch_name[]; #define TARGET_CPU_CPP_BUILTINS() \ do \ { \ + if (TARGET_DSP_MULTIPLY) \ + builtin_define ("__ARM_FEATURE_DSP"); \ /* Define __arm__ even when in thumb mode, for \ consistency with armcc. */ \ builtin_define ("__arm__"); \ |