[PATCH 1/N] x86_64 vectorization support: vectorized math functions addition to Glibc
Rich Felker
dalias@libc.org
Fri Sep 12 19:56:00 GMT 2014
On Fri, Sep 12, 2014 at 03:19:48PM -0400, Carlos O'Donell wrote:
> On 09/12/2014 03:17 PM, Carlos O'Donell wrote:
> > On 09/12/2014 01:33 AM, Andi Kleen wrote:
> >> Rich Felker <dalias@libc.org> writes:
> >>>
> >>> This really seems like something the compiler should be doing --
> >>> translating parallelizable calls to the standard math functions into
> >>> calls to special simd versions (
> >>
> >> Of course gcc already supports that. Even in two different flavours.
> >>
> >> Not sure why the patch doesn't implement one of those ABIs though.
> >
> > Please note that AFAIK gcc doesn't implement the ABI as documented
> > by Intel, but a variant, and my expectation is that we should *absolutely*
> > be targetting the gcc version of the Intel ABI otherwise what's the point?
>
> I see Jakub already responded that there is a 3rd ABI :}
I don't see any point in targeting ABIs that don't have the function
names in a reserved namespace, since the compiler cannot automatically
make such transformations using non-reserved namespace.
Rich
More information about the Libc-alpha
mailing list