* config/rl78/rl78-expand.md (one_cmplqi2): Make constant signed.

From-SVN: r205981
This commit is contained in:
DJ Delorie 2013-12-13 22:45:14 -05:00 committed by DJ Delorie
parent 958d06dfb7
commit ecec9b57e1
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2013-12-13 DJ Delorie <dj@redhat.com>
* config/rl78/rl78-expand.md (one_cmplqi2): Make constant signed.
* config/msp430/msp430.md (movqi): replace general_operand with
msp_general_operand and nonimmediate_operand with
msp_nonimmediate_operand to allow volatile operands.

View File

@ -177,7 +177,7 @@
(define_expand "one_cmplqi2"
[(set (match_operand:QI 0 "nonimmediate_operand")
(xor:QI (match_operand:QI 1 "general_operand")
(const_int 255)))
(const_int -1)))
]
""
"if (rl78_force_nonfar_2 (operands, gen_one_cmplqi2))