From 7ca3e7133c3d125d31155affbddfb40ea29a0b9d Mon Sep 17 00:00:00 2001 From: Andrew Haley Date: Thu, 16 Sep 1999 12:06:56 +0000 Subject: [PATCH] mips.md (movsi_usw): if operand 1 is const_int 0, use $0 instead of 0. 1999-09-14 Andrew Haley * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0, use $0 instead of 0. From-SVN: r29456 --- gcc/ChangeLog | 5 +++++ gcc/config/mips/mips.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cb20deb9a93..8d886682f77 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +1999-09-14 Andrew Haley + + * 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 * 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 ff03d01e1d5..4b52cd2081a 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\"; }" -- 2.30.2