This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/20495] SIMD sincosf implementation lacks VEX encoded version


https://sourceware.org/bugzilla/show_bug.cgi?id=20495

--- Comment #4 from Adam Stylinski <kungfujesus06 at gmail dot com> ---
It may help to increase the iterations a bit more by modifying numvals to be
200*9000 or so.

After doing that, even with -O3, it's clear we're hitting that penalty:

adam@eggsbenedict ~ $ gcc -mavx test_sincos.c -o test.out -lm -O3
adam@eggsbenedict ~ $ time ./test.out 

real    0m0.174s
user    0m0.171s
sys     0m0.002s
adam@eggsbenedict ~ $ gcc -msse4 test_sincos.c -o test.out -lm -O3
adam@eggsbenedict ~ $ time ./test.out 

real    0m0.069s
user    0m0.064s
sys     0m0.004s

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]