about summary refs log tree commit diff
path: root/sysdeps/i386/setfpucw.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/setfpucw.c')
-rw-r--r--sysdeps/i386/setfpucw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/i386/setfpucw.c b/sysdeps/i386/setfpucw.c
index 7c41486128..40b995f18a 100644
--- a/sysdeps/i386/setfpucw.c
+++ b/sysdeps/i386/setfpucw.c
@@ -39,7 +39,7 @@ __setfpucw (fpu_control_t set)
   __asm__ ("fldcw %0" : : "m" (*&cw));
 
   /* If the CPU supports SSE, we set the MXCSR as well.  */
-  if ((GLRO(dl_hwcap) & HWCAP_I386_XMM) != 0)
+  if (HAS_CPU_FEATURE (SSE))
     {
       unsigned int xnew_exc;