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
This commit is contained in:
Ulrich Weigand 2008-08-13 20:36:57 +00:00 committed by Ulrich Weigand
parent 8d019b6593
commit 9f3c92569e
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
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>
* gimple.h (gimple_call_set_chain): Accept SSA variables.

View file

@ -278,6 +278,8 @@ rs6000_cpu_cpp_builtins (cpp_reader *pfile)
cpp_get_callbacks (pfile)->macro_to_expand = rs6000_macro_to_expand;
}
}
if (rs6000_cpu == PROCESSOR_CELL)
builtin_define ("__PPU__");
if (TARGET_SPE)
builtin_define ("__SPE__");
if (TARGET_PAIRED_FLOAT)