about summary refs log tree commit diff
path: root/sysdeps/i386/fpu/fgetexcptflg.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/fpu/fgetexcptflg.c')
-rw-r--r--sysdeps/i386/fpu/fgetexcptflg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/i386/fpu/fgetexcptflg.c b/sysdeps/i386/fpu/fgetexcptflg.c
index bf3c73cef1..954e5f69d8 100644
--- a/sysdeps/i386/fpu/fgetexcptflg.c
+++ b/sysdeps/i386/fpu/fgetexcptflg.c
@@ -34,7 +34,7 @@ __fegetexceptflag (fexcept_t *flagp, int excepts)
   *flagp = temp & excepts & FE_ALL_EXCEPT;
 
   /* If the CPU supports SSE, we clear the MXCSR as well.  */
-  if ((GLRO(dl_hwcap) & HWCAP_I386_XMM) != 0)
+  if (HAS_CPU_FEATURE (SSE))
     {
       unsigned int sse_exc;