Commit 1e58aefe by Georg-Johann Lay Committed by Georg-Johann Lay

avr.md (*addhi3_zero_extend): Add alternative where REGNO($0) == REGNO($1).

	* config/avr/avr.md (*addhi3_zero_extend): Add alternative where
	REGNO($0) == REGNO($1).

From-SVN: r245206
parent ef7df153
2017-02-06 Georg-Johann Lay <avr@gjlay.de>
* config/avr/avr.md (*addhi3_zero_extend): Add alternative where
REGNO($0) == REGNO($1).
2017-02-06 Andreas Krebbel <krebbel@linux.vnet.ibm.com> 2017-02-06 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* config/s390/linux.h(SIZE_TYPE): Add comment. * config/s390/linux.h(SIZE_TYPE): Add comment.
......
...@@ -1200,12 +1200,14 @@ ...@@ -1200,12 +1200,14 @@
(define_insn "*addhi3_zero_extend" (define_insn "*addhi3_zero_extend"
[(set (match_operand:HI 0 "register_operand" "=r") [(set (match_operand:HI 0 "register_operand" "=r,*?r")
(plus:HI (zero_extend:HI (match_operand:QI 1 "register_operand" "r")) (plus:HI (zero_extend:HI (match_operand:QI 1 "register_operand" "r ,0"))
(match_operand:HI 2 "register_operand" "0")))] (match_operand:HI 2 "register_operand" "0 ,r")))]
"" ""
"add %A0,%1\;adc %B0,__zero_reg__" "@
[(set_attr "length" "2") add %A0,%1\;adc %B0,__zero_reg__
add %A0,%A2\;mov %B0,%B2\;adc %B0,__zero_reg__"
[(set_attr "length" "2,3")
(set_attr "cc" "set_n")]) (set_attr "cc" "set_n")])
(define_insn "*addhi3_zero_extend1" (define_insn "*addhi3_zero_extend1"
......
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