[PATCH] Compile AVX libm functions with -mavx

H.J. Lu hjl.tools@gmail.com
Tue Oct 2 15:03:00 GMT 2012


On Tue, Oct 2, 2012 at 7:35 AM, Andreas Jaeger <aj@suse.com> wrote:

>> +CFLAGS-e_exp-avx.c = -mavx
>> +CFLAGS-e_log-avx.c = -mavx
>> +CFLAGS-mpa-avx.c = -mavx
>> +CFLAGS-mpexp-avx.c = -mavx
>> +CFLAGS-mplog-avx.c = -mavx
>> +CFLAGS-s_atan-avx.c = -mavx
>> +CFLAGS-s_sin-avx.c = -mavx
>> +CFLAGS-slowexp-avx.c = -mavx
>> +CFLAGS-s_tan-avx.c = -mavx
>>   endif
>>   endif
>>

I put my changes on hjl/avx branch.

> I'd like to see:
> * Performance numbers

Liubov, can you get hjl/avx branch vs master branch performance
numbers for those functions on Sandy Bridge?

> * Cleanup of sse2avx and SSE2AVX variables/macros as additional patch
>

I am enclosing my patch here.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Compile-AVX-libm-functions-with-mavx.patch
Type: application/octet-stream
Size: 11380 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20121002/cc128e1f/attachment.obj>


More information about the Libc-alpha mailing list