This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix builtin attributes on powerpc
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Michael Meissner <meissner at linux dot vnet dot ibm dot com>, gcc-patches at gcc dot gnu dot org, Jakub Jelinek <jakub at redhat dot com>
- Date: Tue, 13 Oct 2009 09:30:28 -0400
- Subject: Re: [PATCH] Fix builtin attributes on powerpc
- References: <20091001185752.GA28820@hungry-tiger.westford.ibm.com>
On Thu, Oct 1, 2009 at 2:57 PM, Michael Meissner
<meissner@linux.vnet.ibm.com> wrote:
> 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?
If this is the design that the community wants to use in all backends,
it is fine with me.
I think MAX_RS6000_BUILTINS is more consistent with the naming
convention in the rest of GCC than RS6000_BUILTIN_COUNT.
The patch is okay.
Thanks, David