* config/mips/pdp11.md (negsi2): Fix wrong code.
From-SVN: r167006
This commit is contained in:
parent
e4942929dd
commit
2dc211c5ff
@ -1,3 +1,7 @@
|
||||
2010-11-21 Paul Koning <ni1d@arrl.net>
|
||||
|
||||
* config/mips/pdp11.md (negsi2): Fix wrong code.
|
||||
|
||||
2010-11-21 Paul Koning <ni1d@arrl.net>
|
||||
|
||||
* config/mips/pdp11.c (pdp11_legitimate_address_p): New function.
|
||||
|
@ -1149,12 +1149,13 @@
|
||||
operands[1] = gen_rtx_REG (HImode, REGNO (operands[1]) + 1);
|
||||
|
||||
output_asm_insn (\"com %0\", lateoperands);
|
||||
output_asm_insn (\"neg %0\", operands);
|
||||
output_asm_insn (\"com %0\", operands);
|
||||
output_asm_insn (\"add $1, %0\", operands);
|
||||
output_asm_insn (\"adc %0\", lateoperands);
|
||||
|
||||
return \"\";
|
||||
}
|
||||
[(set_attr "length" "10")])
|
||||
[(set_attr "length" "14")])
|
||||
|
||||
(define_insn "neghi2"
|
||||
[(set (match_operand:HI 0 "nonimmediate_operand" "=rR,Q")
|
||||
|
Loading…
x
Reference in New Issue
Block a user