diff options
Diffstat (limited to 'sysdeps/i386/setfpucw.c')
-rw-r--r-- | sysdeps/i386/setfpucw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/i386/setfpucw.c b/sysdeps/i386/setfpucw.c index 497a37b23c..931302bcd0 100644 --- a/sysdeps/i386/setfpucw.c +++ b/sysdeps/i386/setfpucw.c @@ -1,5 +1,5 @@ /* Set the FPU control word for x86. - Copyright (C) 2003-2016 Free Software Foundation, Inc. + Copyright (C) 2003-2018 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -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; |