aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/pdp11
diff options
context:
space:
mode:
authorPaul Koning <ni1d@arrl.net>2010-11-09 01:10:18 +0000
committerPaul Koning <ni1d@arrl.net>2010-11-09 01:10:18 +0000
commit008054202ee992b93b87e5b7fcd7066cb08721bc (patch)
tree27167ea5c0bdc521156a860620725537dd348096 /gcc/config/pdp11
parentfd749cba9dba84b1ea1ac220954eb2cc02f4e82b (diff)
* config/pdp11/pdp11.md (negsi2): Fix wrong code.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@166467 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/pdp11')
-rw-r--r--gcc/config/pdp11/pdp11.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/config/pdp11/pdp11.md b/gcc/config/pdp11/pdp11.md
index 27893a6a8f2..65aadf0a9b2 100644
--- a/gcc/config/pdp11/pdp11.md
+++ b/gcc/config/pdp11/pdp11.md
@@ -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 \"\";