Commit f15ec016 by Jeffrey A Law Committed by Jeff Law

* mn10300.md (reload_insi): Do not earlyclobber the output operand.

From-SVN: r25065
parent 8d31fdf4
Sat Feb 6 18:14:46 1999 Jeffrey A Law (law@cygnus.com) Sat Feb 6 18:14:46 1999 Jeffrey A Law (law@cygnus.com)
* mn10300.md (reload_insi): Do not earlyclobber the output operand.
* README.g77, gcc.c, gcc.texi: Update email addresses. * README.g77, gcc.c, gcc.texi: Update email addresses.
* invoke.texi system.h: Likewise. * invoke.texi system.h: Likewise.
......
...@@ -155,7 +155,6 @@ ...@@ -155,7 +155,6 @@
{ {
if (XEXP (operands[1], 0) == stack_pointer_rtx) if (XEXP (operands[1], 0) == stack_pointer_rtx)
{ {
emit_move_insn (operands[0], XEXP (operands[1], 0));
if (GET_CODE (XEXP (operands[1], 1)) == SUBREG if (GET_CODE (XEXP (operands[1], 1)) == SUBREG
&& (GET_MODE_SIZE (GET_MODE (XEXP (operands[1], 1))) && (GET_MODE_SIZE (GET_MODE (XEXP (operands[1], 1)))
> GET_MODE_SIZE (GET_MODE (SUBREG_REG (XEXP (operands[1], 1)))))) > GET_MODE_SIZE (GET_MODE (SUBREG_REG (XEXP (operands[1], 1))))))
...@@ -164,10 +163,10 @@ ...@@ -164,10 +163,10 @@
SUBREG_REG (XEXP (operands[1], 1)))); SUBREG_REG (XEXP (operands[1], 1))));
else else
emit_move_insn (operands[2], XEXP (operands[1], 1)); emit_move_insn (operands[2], XEXP (operands[1], 1));
emit_move_insn (operands[0], XEXP (operands[1], 0));
} }
else else
{ {
emit_move_insn (operands[0], XEXP (operands[1], 1));
if (GET_CODE (XEXP (operands[1], 0)) == SUBREG if (GET_CODE (XEXP (operands[1], 0)) == SUBREG
&& (GET_MODE_SIZE (GET_MODE (XEXP (operands[1], 0))) && (GET_MODE_SIZE (GET_MODE (XEXP (operands[1], 0)))
> GET_MODE_SIZE (GET_MODE (SUBREG_REG (XEXP (operands[1], 0)))))) > GET_MODE_SIZE (GET_MODE (SUBREG_REG (XEXP (operands[1], 0))))))
...@@ -176,6 +175,7 @@ ...@@ -176,6 +175,7 @@
SUBREG_REG (XEXP (operands[1], 0)))); SUBREG_REG (XEXP (operands[1], 0))));
else else
emit_move_insn (operands[2], XEXP (operands[1], 0)); emit_move_insn (operands[2], XEXP (operands[1], 0));
emit_move_insn (operands[0], XEXP (operands[1], 1));
} }
emit_insn (gen_addsi3 (operands[0], operands[0], operands[2])); emit_insn (gen_addsi3 (operands[0], operands[0], operands[2]));
DONE; DONE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment