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
This commit is contained in:
Andrew Haley 1999-09-16 12:06:56 +00:00 committed by Andrew Haley
parent 2feb9704c2
commit 7ca3e7133c
2 changed files with 6 additions and 1 deletions

View 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

View 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\";
}"