re PR target/30289 (avr-gcc: builtin memset(): wrong code)

PR target/30289
	* config/avr/avr.md (*clrmemqi, *clrmemhi): Mark operand 4 as 
	earlyclobber.

From-SVN: r123648
This commit is contained in:
Anatoly Sokolov
2007-04-08 02:14:51 +04:00
committed by Anatoly Sokolov
parent f5294c77ff
commit 9601a68bd0
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2007-04-07 Anatoly Sokolov <aesok@post.ru>
PR target/30289
* config/avr/avr.md (*clrmemqi, *clrmemhi): Mark operand 4 as
earlyclobber.
2007-04-05 Anatoly Sokolov <aesok@post.ru>
PR target/25448

View File

@@ -463,7 +463,7 @@
(use (match_operand:QI 1 "register_operand" "r"))
(use (match_operand:QI 2 "const_int_operand" "n"))
(clobber (match_scratch:HI 3 "=0"))
(clobber (match_scratch:QI 4 "=1"))]
(clobber (match_scratch:QI 4 "=&1"))]
""
"st %a0+,__zero_reg__
dec %1
@@ -477,7 +477,7 @@
(use (match_operand:HI 1 "register_operand" "!w,d"))
(use (match_operand:HI 2 "const_int_operand" "n,n"))
(clobber (match_scratch:HI 3 "=0,0"))
(clobber (match_scratch:HI 4 "=1,1"))]
(clobber (match_scratch:HI 4 "=&1,&1"))]
""
"*{
if (which_alternative==0)