OSDN Git Service

1999-09-14 Andrew Haley <aph@cygnus.com>
authoraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Sep 1999 12:06:56 +0000 (12:06 +0000)
committeraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Sep 1999 12:06:56 +0000 (12:06 +0000)
* config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
use $0 instead of 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29456 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/mips/mips.md

index cb20deb..8d88668 100644 (file)
@@ -1,3 +1,8 @@
+1999-09-14  Andrew Haley  <aph@cygnus.com>
+
+       * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
+       use $0 instead of 0.
+
 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
 
        * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
index ff03d01..4b52cd2 100644 (file)
@@ -4622,7 +4622,7 @@ move\\t%0,%z4\\n\\
 
   if ((INTVAL (offset) & 3) == 0
       && (mem_addr == stack_pointer_rtx || mem_addr == frame_pointer_rtx))
-    return \"sw\\t%1,%0\";
+    return \"sw\\t%z1,%0\";
 
   return \"usw\\t%z1,%0\";
 }"