Commit 1052bb09 by Marek Michalkiewicz Committed by Marek Michalkiewicz

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
parent 299f79b5
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> 2003-04-20 Nathan Sidwell <nathan@codesourcery.com>
* cpplex.c (_cpp_lex_direct): Set BOL for CPP_EOF tokens. * cpplex.c (_cpp_lex_direct): Set BOL for CPP_EOF tokens.
......
...@@ -1637,8 +1637,8 @@ ...@@ -1637,8 +1637,8 @@
[(set (cc0) [(set (cc0)
(compare (sign_extend:HI (compare (sign_extend:HI
(match_operand:QI 0 "register_operand" "d")) (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)" "cpi %0,lo8(%1)"
[(set_attr "cc" "compare") [(set_attr "cc" "compare")
(set_attr "length" "1")]) (set_attr "length" "1")])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment