summaryrefslogtreecommitdiff
path: root/sysdeps/i386/setfpucw.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/setfpucw.c')
-rw-r--r--sysdeps/i386/setfpucw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/i386/setfpucw.c b/sysdeps/i386/setfpucw.c
index 0a6af25ddf..1ca2d3cbd2 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 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2004 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
@@ -40,7 +40,7 @@ __setfpucw (fpu_control_t set)
__asm__ ("fldcw %0" : : "m" (*&cw));
/* If the CPU supports SSE, we set the MXCSR as well. */
- if ((GL(dl_hwcap) & HWCAP_I386_XMM) != 0)
+ if ((GLRO(dl_hwcap) & HWCAP_I386_XMM) != 0)
{
unsigned int xnew_exc;