]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 22 Nov 2004 19:03:42 +0000 (19:03 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 22 Nov 2004 19:03:42 +0000 (19:03 +0000)
2004-11-22  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/i386/fpu_control.h: Add volatile to the asms.
Patch by Alexander Stohr.

ChangeLog
sysdeps/i386/fpu_control.h

index f6df6f9d975b9eefaebd06a086c482e130d95400..9bbfb4f5a0bc7214b760136f106042851fa4091d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-11-22  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/i386/fpu_control.h: Add volatile to the asms.
+       Patch by Alexander Stohr.
+
 2004-11-22  Jakub Jelinek  <jakub@redhat.com>
 
        * nscd/nscd_getai (__nscd_getai): Avoid memory and file descriptor
index e2d00467b7983ba5460f74eaee0a9f6d60db4dbc..0a9b57c30c6c575472af7623f967e039da8c41bc 100644 (file)
@@ -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;