diff options
author | Ulrich Drepper <drepper@gmail.com> | 2012-01-26 09:45:54 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2012-01-26 09:45:54 -0500 |
commit | 08cf777f9e7f6d826658a99c7d77a359f73a45bf (patch) | |
tree | 89cdc5e4339c060b4e0ccaab79a2924c4989ab9c /sysdeps/x86_64/fpu/multiarch/s_atan.c | |
parent | afc5ed09cbce5d6fd48b3a8c5ec427b31f996880 (diff) | |
download | glibc-08cf777f9e7f6d826658a99c7d77a359f73a45bf.tar glibc-08cf777f9e7f6d826658a99c7d77a359f73a45bf.tar.gz glibc-08cf777f9e7f6d826658a99c7d77a359f73a45bf.tar.bz2 glibc-08cf777f9e7f6d826658a99c7d77a359f73a45bf.zip |
Really fix AVX tests
There is no problem with strcmp, it doesn't use the YMM registers.
The math routines might since gcc perhaps generates such code.
Introduce bit_YMM_USBALE and use it in the math routines.
Diffstat (limited to 'sysdeps/x86_64/fpu/multiarch/s_atan.c')
-rw-r--r-- | sysdeps/x86_64/fpu/multiarch/s_atan.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/x86_64/fpu/multiarch/s_atan.c b/sysdeps/x86_64/fpu/multiarch/s_atan.c index 3160201c17..78c7e099cb 100644 --- a/sysdeps/x86_64/fpu/multiarch/s_atan.c +++ b/sysdeps/x86_64/fpu/multiarch/s_atan.c @@ -12,7 +12,8 @@ extern double __atan_fma4 (double); # define __atan_fma4 ((void *) 0) # endif -libm_ifunc (atan, HAS_FMA4 ? __atan_fma4 : HAS_AVX ? __atan_avx : __atan_sse2); +libm_ifunc (atan, (HAS_FMA4 ? __atan_fma4 : + HAS_YMM_USABLE ? __atan_avx : __atan_sse2)); # define atan __atan_sse2 #endif |