This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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
Attachment:
addppu_intrinsics.diff.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |