From: James Greenhalgh Date: Wed, 6 Jul 2011 17:26:15 +0000 (+0000) Subject: arm.h (TARGET_CPU_CPP_BUILTINS): Add __ARM_FEATURE_DSP. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c884924f5b8b5d43b4172df058f77db9ed4e4be7;p=gcc.git arm.h (TARGET_CPU_CPP_BUILTINS): Add __ARM_FEATURE_DSP. 2011-07-06 James Greenhalgh * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Add __ARM_FEATURE_DSP. From-SVN: r175925 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 38a8bcd4936..21f550c6d99 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-07-06 James Greenhalgh + + * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Add + __ARM_FEATURE_DSP. + 2011-07-06 Basile Starynkevitch * configure.ac (plugin-version.h): Generate diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index b0d26259a08..3810f9e8f61 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__"); \