This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/20495] SIMD sincosf implementation lacks VEX encoded version
- From: "kungfujesus06 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 23 Aug 2016 01:31:51 +0000
- Subject: [Bug math/20495] SIMD sincosf implementation lacks VEX encoded version
- Auto-submitted: auto-generated
- References: <bug-20495-131@http.sourceware.org/bugzilla/>
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.