This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Compile AVX libm functions with -mavx -mprefer-avx128
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.
--
H.J.