]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/fpu-387.h (set_fpu): Add "=m" for stmxcsr.
authorUros Bizjak <uros@kss-loka.si>
Thu, 13 Oct 2005 12:54:30 +0000 (14:54 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 13 Oct 2005 12:54:30 +0000 (14:54 +0200)
From-SVN: r105369

libgfortran/ChangeLog
libgfortran/config/fpu-387.h

index 9433fda08b94b36de7af4dfd49e96f66b5018620..8afd8717af63bb5ba34593037523aa7923b136a6 100644 (file)
@@ -1,3 +1,7 @@
+2005-20-13  Uros Bizjak  <uros@kss-loka.si>
+
+       * config/fpu-387.h (set_fpu): Add "=m" for stmxcsr.
+
 2005-10-12  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
 
        * Makefile.am: Add fpu.c to the build process, and
index 06c02eaf853862770c6cdea3d80d74a8845615e7..e7f35182e0c90ba18e1b82e789482958b4b3d43b 100644 (file)
@@ -90,7 +90,7 @@ void set_fpu (void)
   if (has_sse())
     {
       /* SSE */
-      asm volatile ("stmxcsr %0" : : "m" (cw_sse));
+      asm volatile ("stmxcsr %0" : : "=m" (cw_sse));
       cw_sse &= 0xFFFF0000;
       if (options.fpe & GFC_FPE_INVALID) cw_sse |= 1 << 7;
       if (options.fpe & GFC_FPE_DENORMAL) cw_sse |= 1 << 8;