From 69f9031736e6813aae002d16d5473c8ca06dd3f4 Mon Sep 17 00:00:00 2001 From: pkoning Date: Tue, 9 Nov 2010 01:10:18 +0000 Subject: * config/pdp11/pdp11.md (negsi2): Fix wrong code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166467 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config/pdp11/pdp11.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gcc/config/pdp11/pdp11.md') 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 \"\"; -- cgit v1.2.1