Commit 8860adf4 by Paul Koning Committed by Paul Koning

* config/pdp11/pdp11.md (negsi2): Fix wrong code.

From-SVN: r166467
parent e285a2c6
2010-11-08 Paul Koning <ni1d@arrl.net>
* config/pdp11/pdp11.md (negsi2): Fix wrong code.
2010-11-08 Paul Koning <ni1d@arrl.net>
* config/pdp11/pdp11.c (pdp11_assemble_integer): Mask byte values
to 8 bits.
......@@ -1091,9 +1091,8 @@
lateoperands[1] = operands[1];
operands[1] = gen_rtx_REG (HImode, REGNO (operands[1]) + 1);
output_asm_insn (\"com %0\", operands);
output_asm_insn (\"com %0\", lateoperands);
output_asm_insn (\"inc %0\", operands);
output_asm_insn (\"neg %0\", operands);
output_asm_insn (\"adc %0\", lateoperands);
return \"\";
......
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