]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/pdp11/pdp11.md (negsi2): Fix wrong code.
authorPaul Koning <ni1d@arrl.net>
Tue, 9 Nov 2010 01:10:18 +0000 (20:10 -0500)
committerPaul Koning <pkoning@gcc.gnu.org>
Tue, 9 Nov 2010 01:10:18 +0000 (20:10 -0500)
From-SVN: r166467

gcc/ChangeLog
gcc/config/pdp11/pdp11.md

index 8bd5348c97cbe343334a3d80bed75b9b1de928d3..ce47b7ae6f78628d22535e7581ab327307ce62aa 100644 (file)
@@ -1,3 +1,7 @@
+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
index 27893a6a8f2f3c2de1669a325241621963814ea1..65aadf0a9b2d1cb19009d467a9ebe5c38f29f912 100644 (file)
   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 \"\";