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_tan.c | |
parent | afc5ed09cbce5d6fd48b3a8c5ec427b31f996880 (diff) | |
download | glibc-08cf777f9e7f6d826658a99c7d77a359f73a45bf.zip glibc-08cf777f9e7f6d826658a99c7d77a359f73a45bf.tar.gz glibc-08cf777f9e7f6d826658a99c7d77a359f73a45bf.tar.bz2 |
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_tan.c')
-rw-r--r-- | sysdeps/x86_64/fpu/multiarch/s_tan.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/x86_64/fpu/multiarch/s_tan.c b/sysdeps/x86_64/fpu/multiarch/s_tan.c index 8f6601e..3047155 100644 --- a/sysdeps/x86_64/fpu/multiarch/s_tan.c +++ b/sysdeps/x86_64/fpu/multiarch/s_tan.c @@ -12,7 +12,8 @@ extern double __tan_fma4 (double); # define __tan_fma4 ((void *) 0) # endif -libm_ifunc (tan, HAS_FMA4 ? __tan_fma4 : HAS_AVX ? __tan_avx : __tan_sse2); +libm_ifunc (tan, (HAS_FMA4 ? __tan_fma4 : + HAS_YMM_USABLE ? __tan_avx : __tan_sse2)); # define tan __tan_sse2 #endif |