about summary refs log tree commit diff
path: root/sysdeps/x86_64/fpu/multiarch/e_log.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2012-01-26 09:45:54 -0500
committerUlrich Drepper <drepper@gmail.com>2012-01-26 09:45:54 -0500
commit08cf777f9e7f6d826658a99c7d77a359f73a45bf (patch)
tree89cdc5e4339c060b4e0ccaab79a2924c4989ab9c /sysdeps/x86_64/fpu/multiarch/e_log.c
parentafc5ed09cbce5d6fd48b3a8c5ec427b31f996880 (diff)
downloadglibc-08cf777f9e7f6d826658a99c7d77a359f73a45bf.tar.gz
glibc-08cf777f9e7f6d826658a99c7d77a359f73a45bf.tar.xz
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/e_log.c')
-rw-r--r--sysdeps/x86_64/fpu/multiarch/e_log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/x86_64/fpu/multiarch/e_log.c b/sysdeps/x86_64/fpu/multiarch/e_log.c
index 3b468d0f46..ab277d67fe 100644
--- a/sysdeps/x86_64/fpu/multiarch/e_log.c
+++ b/sysdeps/x86_64/fpu/multiarch/e_log.c
@@ -14,7 +14,7 @@ extern double __ieee754_log_fma4 (double);
 
 libm_ifunc (__ieee754_log,
 	    HAS_FMA4 ? __ieee754_log_fma4
-	    : (HAS_AVX ? __ieee754_log_avx
+	    : (HAS_YMM_USABLE ? __ieee754_log_avx
 	       : __ieee754_log_sse2));
 strong_alias (__ieee754_log, __log_finite)