(negdi2): Undo last change: don't apply neg to address regs.

From-SVN: r12526
This commit is contained in:
Richard Kenner 1996-07-19 09:08:39 -04:00
parent 40e6003c25
commit 6231ef8299
1 changed files with 4 additions and 1 deletions

View File

@ -3796,7 +3796,10 @@
operands[1] = gen_rtx (REG, SImode, REGNO (operands[0]) + 1);
else
operands[1] = adj_offsettable_operand (operands[0], 4);
return \"neg%.l %1\;negx%.l %0\";
if (ADDRESS_REG_P (operands[0]))
return \"exg %/d0,%1\;neg%.l %/d0\;exg %/d0,%1\;exg %/d0,%0\;negx%.l %/d0\;exg %/d0,%0\";
else
return \"neg%.l %1\;negx%.l %0\";
} ")
(define_insn "negsi2"