Commit af2cc4dd by Richard Stallman

(expand_binop): For doubleword int addition,

clobber the whole register at the start.

From-SVN: r3754
parent 1a6603da
...@@ -590,6 +590,10 @@ expand_binop (mode, binoptab, op0, op1, target, unsignedp, methods) ...@@ -590,6 +590,10 @@ expand_binop (mode, binoptab, op0, op1, target, unsignedp, methods)
|| target == xop0 || target == xop1) || target == xop0 || target == xop1)
target = gen_reg_rtx (mode); target = gen_reg_rtx (mode);
/* Indicate for flow that the entire target reg is being set. */
if (GET_CODE (target) == REG)
emit_insn (gen_rtx (CLOBBER, VOIDmode, target));
/* Do the actual arithmetic. */ /* Do the actual arithmetic. */
for (i = 0; i < nwords; i++) for (i = 0; i < nwords; i++)
{ {
......
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