[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r6607 - in /branches/eglibc-2_8/ports: ChangeLog.eglibc sysdeps/mips/fpu_control.h



Author: joseph
Date: Tue Jul 22 12:21:35 2008
New Revision: 6607

Log:
	* sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms
	volatile.

Modified:
    branches/eglibc-2_8/ports/ChangeLog.eglibc
    branches/eglibc-2_8/ports/sysdeps/mips/fpu_control.h

Modified: branches/eglibc-2_8/ports/ChangeLog.eglibc
==============================================================================
--- branches/eglibc-2_8/ports/ChangeLog.eglibc (original)
+++ branches/eglibc-2_8/ports/ChangeLog.eglibc Tue Jul 22 12:21:35 2008
@@ -1,3 +1,8 @@
+2008-07-22  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms
+	volatile.
+
 2008-07-16  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	* sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure

Modified: branches/eglibc-2_8/ports/sysdeps/mips/fpu_control.h
==============================================================================
--- branches/eglibc-2_8/ports/sysdeps/mips/fpu_control.h (original)
+++ branches/eglibc-2_8/ports/sysdeps/mips/fpu_control.h Tue Jul 22 12:21:35 2008
@@ -100,8 +100,8 @@
 typedef unsigned int fpu_control_t __attribute__ ((__mode__ (__SI__)));
 
 /* Macros for accessing the hardware control word.  */
-#define _FPU_GETCW(cw) __asm__ ("cfc1 %0,$31" : "=r" (cw))
-#define _FPU_SETCW(cw) __asm__ ("ctc1 %0,$31" : : "r" (cw))
+#define _FPU_GETCW(cw) __asm__ volatile ("cfc1 %0,$31" : "=r" (cw))
+#define _FPU_SETCW(cw) __asm__ volatile ("ctc1 %0,$31" : : "r" (cw))
 
 /* Default control word set at startup.  */
 extern fpu_control_t __fpu_control;