[PATCH] Compile AVX libm functions with -mavx -mprefer-avx128
Mike Frysinger
vapier@gentoo.org
Tue Oct 2 22:06:00 GMT 2012
On Tuesday 02 October 2012 17:28:12 H.J. Lu wrote:
> On Tue, Oct 2, 2012 at 2:12 PM, Mike Frysinger <vapier@gentoo.org> wrote:
> > On Tuesday 02 October 2012 16:54:11 H.J. Lu wrote:
> >> Here is a patch to compile AVX libm functions with -mavx
> >> -mprefer-avx128.
> >
> > do we need to test for -mavx too ? that was added to gcc-4.4, but our
> > current min ver is gcc-4.3 ...
>
> It checks -mprefer-avx128. All GCC which support -mprefer-avx128 also
> support -mavx.
right, i meant something else, but it doesn't matter as the logic is wrapped
the way you said
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20121002/83791804/attachment.sig>
More information about the Libc-alpha
mailing list