Commit e0c34369 by James E Wilson Committed by Jim Wilson

Fix latent problem found by Mostafa Hagog.

	* config/i386/i386.md (doloop_end_internal): Use nonimmediate_operand
	for operand2.  Add condition that requires register_operand operand2
	before reload.

From-SVN: r78140
parent 325b439b
2004-02-19 James E Wilson <wilson@specifixinc.com>
* config/i386/i386.md (doloop_end_internal): Use nonimmediate_operand
for operand2. Add condition that requires register_operand operand2
before reload.
2004-02-19 Richard Sandiford <rsandifo@redhat.com> 2004-02-19 Richard Sandiford <rsandifo@redhat.com>
Maciej W. Rozycki <macro@ds2.pg.gda.pl> Maciej W. Rozycki <macro@ds2.pg.gda.pl>
......
...@@ -13468,12 +13468,14 @@ ...@@ -13468,12 +13468,14 @@
(const_int 1)) (const_int 1))
(label_ref (match_operand 0 "" "")) (label_ref (match_operand 0 "" ""))
(pc))) (pc)))
(set (match_operand:SI 2 "register_operand" "=1,1,*m*r") (set (match_operand:SI 2 "nonimmediate_operand" "=1,1,*m*r")
(plus:SI (match_dup 1) (plus:SI (match_dup 1)
(const_int -1))) (const_int -1)))
(clobber (match_scratch:SI 3 "=X,X,r")) (clobber (match_scratch:SI 3 "=X,X,r"))
(clobber (reg:CC 17))] (clobber (reg:CC 17))]
"!TARGET_64BIT && TARGET_USE_LOOP" "!TARGET_64BIT && TARGET_USE_LOOP
&& (reload_in_progress || reload_completed
|| register_operand (operands[2], VOIDmode))"
{ {
if (which_alternative != 0) if (which_alternative != 0)
return "#"; return "#";
......
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