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]

[PATCH] Fix builtin attributes on powerpc


I tried to get this in by yesterday, but I had some server issues, and I
couldn't get the tests run until today.

In working with Jakub on a backport of the power7 patches to the Red Hat 4.4
branch, we found some problems in running spec.  The problem turned out to that
the vectorized math functions had different declaration attributes than the
scalar versions of the functions.  In doing further investigation, it turned
out that we weren't setting any attributes for any builtin functions.  This
patch fixes the attributes for the Altivec (VMX) and VSX builtins.  I have not
done the spe and paired builtins in this patch, but that can be easily done
later.

I did the usual boostrap and make check with no regressions.

Is this acceptable to checkin under stage 3 as a backend change?

I do think that long term we should move the backend builtins into the machine
independent like I mentioned in my RFA patch, but I ran out time for the 4.5
time frame:
http://gcc.gnu.org/ml/gcc-patches/2009-09/msg01820.html

-- 
Michael Meissner, IBM
4 Technology Place Drive, MS 2203A, Westford, MA, 01886, USA
meissner@linux.vnet.ibm.com

Attachment: gcc-power7.patch82
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]