Commit 6c61c2bb by Richard Henderson Committed by Richard Henderson

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
parent 8f5d6855
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
......
......@@ -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;
} ")
......
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