avr.md (*cmpqi_sign_extend): Handle negative values of operand 1 correctly.
* config/avr/avr.md (*cmpqi_sign_extend): Handle negative values of operand 1 correctly. From-SVN: r65850
This commit is contained in:
parent
299f79b5a0
commit
1052bb09b8
|
@ -1,3 +1,8 @@
|
|||
2003-04-20 Marek Michalkiewicz <marekm@amelek.gda.pl>
|
||||
|
||||
* config/avr/avr.md (*cmpqi_sign_extend): Handle negative values
|
||||
of operand 1 correctly.
|
||||
|
||||
2003-04-20 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* cpplex.c (_cpp_lex_direct): Set BOL for CPP_EOF tokens.
|
||||
|
|
|
@ -1637,8 +1637,8 @@
|
|||
[(set (cc0)
|
||||
(compare (sign_extend:HI
|
||||
(match_operand:QI 0 "register_operand" "d"))
|
||||
(match_operand:HI 1 "immediate_operand" "M")))]
|
||||
""
|
||||
(match_operand:HI 1 "const_int_operand" "n")))]
|
||||
"INTVAL (operands[1]) >= -128 && INTVAL (operands[1]) <= 127"
|
||||
"cpi %0,lo8(%1)"
|
||||
[(set_attr "cc" "compare")
|
||||
(set_attr "length" "1")])
|
||||
|
|
Loading…
Reference in New Issue