about summary refs log tree commit diff
path: root/sysdeps/i386/fpu/ftestexcept.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/fpu/ftestexcept.c')
-rw-r--r--sysdeps/i386/fpu/ftestexcept.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/i386/fpu/ftestexcept.c b/sysdeps/i386/fpu/ftestexcept.c
index e449571c04..f82b355352 100644
--- a/sysdeps/i386/fpu/ftestexcept.c
+++ b/sysdeps/i386/fpu/ftestexcept.c
@@ -33,7 +33,7 @@ fetestexcept (int excepts)
   __asm__ ("fnstsw %0" : "=a" (temp));
 
   /* If the CPU supports SSE we test the MXCSR as well.  */
-  if ((GL(dl_hwcap_mask) & HWCAP_I386_XMM) != 0)
+  if ((GL(dl_hwcap) & HWCAP_I386_XMM) != 0)
     __asm__ ("stmxcsr %0" : "=m" (*&xtemp));
 
   return (temp | xtemp) & excepts & FE_ALL_EXCEPT;