Commit c884924f by James Greenhalgh Committed by Janis Johnson

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
parent bf588455
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> 2011-07-06 Basile Starynkevitch <basile@starynkevitch.net>
* configure.ac (plugin-version.h): Generate * configure.ac (plugin-version.h): Generate
......
...@@ -45,6 +45,8 @@ extern char arm_arch_name[]; ...@@ -45,6 +45,8 @@ extern char arm_arch_name[];
#define TARGET_CPU_CPP_BUILTINS() \ #define TARGET_CPU_CPP_BUILTINS() \
do \ do \
{ \ { \
if (TARGET_DSP_MULTIPLY) \
builtin_define ("__ARM_FEATURE_DSP"); \
/* Define __arm__ even when in thumb mode, for \ /* Define __arm__ even when in thumb mode, for \
consistency with armcc. */ \ consistency with armcc. */ \
builtin_define ("__arm__"); \ builtin_define ("__arm__"); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment