[rs6000 PATCH] Implement ppu_intrinsics.h
Andrew_Pinski@PlayStation.Sony.Com
Andrew_Pinski@PlayStation.Sony.Com
Fri May 18 23:11:00 GMT 2007
Hi,
The C/C++ Language Extensions for the Cell BEA [1] specifies a
ppu_intriniscs.h for the PowerPC side of the Cell. This adds an
implementation using inline-asm for now (in the future I will add builtins
for the intrinsics). This ppu_intrinsics.h has been updated for even the
latest RFC which is not included in a published document yet (just adds
the __protected_* intrinsics). This patch also adds a testcase for
testing that the header file works and some of the intrinisics compile. I
have not yet added a full testcase over all the intrinsics. The header
file also includes the work around needed to compile with glibc's mah.h
defining __fabs and __fabsf (both of which are not exported from glibc).
OK? Bootstrapped and tested on powerpc64-linux-gnu with no regressions.
This header was written orginally by Nobuhisa Fujinami, and then modified
by me and Alex Rosenberg and then changed a little more by Ben Elliston
and Ulrich Weigand (both at IBM).
Thanks,
Andrew Pinski
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: addppu_intrinsics.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070518/613faba1/attachment.txt>
More information about the Gcc-patches
mailing list