This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, rs6000] Predefine __PPU__ to indicate -mcpu=cell
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 09 Aug 2008 09:33:59 -0400
- Subject: Re: [PATCH, rs6000] Predefine __PPU__ to indicate -mcpu=cell
- References: <200808091311.m79DBwIW026880@d12av02.megacenter.de.ibm.com>
> the C/C++ Language Extensions document for the Cell/B.E. specifies that
> compilers for the Cell PPU should predefine the __PPU__ macro, and e.g.
> XLC and our current out-of-tree builds of GCC do so.
>
> This patch adds that define to the FSF GCC version as well.
>
> OK for mainline and 4.3?
Okay.
Thanks, David