diff options
author | Andrew Haley <aph@cygnus.com> | 1999-09-16 12:06:56 +0000 |
---|---|---|
committer | Andrew Haley <aph@gcc.gnu.org> | 1999-09-16 12:06:56 +0000 |
commit | 7ca3e7133c3d125d31155affbddfb40ea29a0b9d (patch) | |
tree | 552d9ff8926daff8d9773dd784aee24d3e818754 | |
parent | 2feb9704c27f0d2eb4a1381cb47eaf4b77208979 (diff) | |
download | gcc-7ca3e7133c3d125d31155affbddfb40ea29a0b9d.zip gcc-7ca3e7133c3d125d31155affbddfb40ea29a0b9d.tar.gz gcc-7ca3e7133c3d125d31155affbddfb40ea29a0b9d.tar.bz2 |
mips.md (movsi_usw): if operand 1 is const_int 0, use $0 instead of 0.
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.
From-SVN: r29456
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/mips/mips.md | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cb20deb..8d88668 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index ff03d01..4b52cd2 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -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\"; }" |