alpha.md (addsi3, subsi3): No new temporaries once cse is no longer expected.

* alpha.md (addsi3, subsi3): No new temporaries once cse is
        no longer expected.

From-SVN: r23537
This commit is contained in:
Richard Henderson 1998-11-04 20:04:04 -08:00 committed by Richard Henderson
parent 8f5d685581
commit 6c61c2bba1
2 changed files with 27 additions and 8 deletions

View File

@ -1,3 +1,8 @@
Thu Nov 5 04:03:06 1998 Richard Henderson <rth@cygnus.com>
* alpha.md (addsi3, subsi3): No new temporaries once cse is
no longer expected.
Thu Nov 5 03:29:19 1998 Richard Henderson <rth@cygnus.com>
* alpha.md (addsi3, subsi3): Expand to a DImode temporary so as

View File

@ -427,10 +427,17 @@
""
"
{
rtx tmp = gen_reg_rtx (DImode);
emit_insn (gen_adddi3 (tmp, gen_lowpart (DImode, operands[1]),
gen_lowpart (DImode, operands[2])));
emit_move_insn (operands[0], gen_lowpart (SImode, tmp));
rtx op1 = gen_lowpart (DImode, operands[1]);
rtx op2 = gen_lowpart (DImode, operands[2]);
if (! cse_not_expected)
{
rtx tmp = gen_reg_rtx (DImode);
emit_insn (gen_adddi3 (tmp, op1, op2));
emit_move_insn (operands[0], gen_lowpart (SImode, tmp));
}
else
emit_insn (gen_adddi3 (gen_lowpart (DImode, operands[0]), op1, op2));
DONE;
} ")
@ -714,10 +721,17 @@
""
"
{
rtx tmp = gen_reg_rtx (DImode);
emit_insn (gen_subdi3 (tmp, gen_lowpart (DImode, operands[1]),
gen_lowpart (DImode, operands[2])));
emit_move_insn (operands[0], gen_lowpart (SImode, tmp));
rtx op1 = gen_lowpart (DImode, operands[1]);
rtx op2 = gen_lowpart (DImode, operands[2]);
if (! cse_not_expected)
{
rtx tmp = gen_reg_rtx (DImode);
emit_insn (gen_subdi3 (tmp, op1, op2));
emit_move_insn (operands[0], gen_lowpart (SImode, tmp));
}
else
emit_insn (gen_subdi3 (gen_lowpart (DImode, operands[0]), op1, op2));
DONE;
} ")