summaryrefslogtreecommitdiff
path: root/sysdeps/i386/fpu_control.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2004-11-24 08:05:15 +0000
committerJakub Jelinek <jakub@redhat.com>2004-11-24 08:05:15 +0000
commit945a6124b6aa3047e3d144da4fb47cbbf5da70ee (patch)
tree7b7d217428c431919749c4e8280228da5739c25e /sysdeps/i386/fpu_control.h
parent06bc2b63c861ca3f53e5e98bc0ecd23e4b159531 (diff)
Updated to fedora-glibc-20041124T0741cvs/fedora-glibc-2_3_3-84
Diffstat (limited to 'sysdeps/i386/fpu_control.h')
-rw-r--r--sysdeps/i386/fpu_control.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/i386/fpu_control.h b/sysdeps/i386/fpu_control.h
index e2d00467b7..0a9b57c30c 100644
--- a/sysdeps/i386/fpu_control.h
+++ b/sysdeps/i386/fpu_control.h
@@ -93,8 +93,8 @@ typedef unsigned int fpu_control_t __attribute__ ((__mode__ (__HI__)));
Note that the use of these macros is no sufficient anymore with
recent hardware. Some floating point operations are executed in
the SSE/SSE2 engines which have their own control and status register. */
-#define _FPU_GETCW(cw) __asm__ ("fnstcw %0" : "=m" (*&cw))
-#define _FPU_SETCW(cw) __asm__ ("fldcw %0" : : "m" (*&cw))
+#define _FPU_GETCW(cw) __asm__ __volatile__ ("fnstcw %0" : "=m" (*&cw))
+#define _FPU_SETCW(cw) __asm__ __volatile__ ("fldcw %0" : : "m" (*&cw))
/* Default control word set at startup. */
extern fpu_control_t __fpu_control;