__PPU__ when targeting the Cell/B.E. PPU processor.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139082
138bc75d-0d04-0410-961f-
82ee72b054a4
+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.
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)