Commit 9f3c9256 by Ulrich Weigand Committed by Ulrich Weigand

rs6000-c.c (rs6000_cpu_cpp_builtins): Predefine __PPU__ when targeting the Cell/B.E. PPU processor.

	* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Predefine
	__PPU__ when targeting the Cell/B.E. PPU processor.

From-SVN: r139082
parent 8d019b65
2008-08-13 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Predefine
__PPU__ when targeting the Cell/B.E. PPU processor.
2008-08-13 Eric Botcazou <ebotcazou@adacore.com> 2008-08-13 Eric Botcazou <ebotcazou@adacore.com>
* gimple.h (gimple_call_set_chain): Accept SSA variables. * gimple.h (gimple_call_set_chain): Accept SSA variables.
......
...@@ -278,6 +278,8 @@ rs6000_cpu_cpp_builtins (cpp_reader *pfile) ...@@ -278,6 +278,8 @@ rs6000_cpu_cpp_builtins (cpp_reader *pfile)
cpp_get_callbacks (pfile)->macro_to_expand = rs6000_macro_to_expand; cpp_get_callbacks (pfile)->macro_to_expand = rs6000_macro_to_expand;
} }
} }
if (rs6000_cpu == PROCESSOR_CELL)
builtin_define ("__PPU__");
if (TARGET_SPE) if (TARGET_SPE)
builtin_define ("__SPE__"); builtin_define ("__SPE__");
if (TARGET_PAIRED_FLOAT) if (TARGET_PAIRED_FLOAT)
......
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