pa.md (millicode expands): Change operand 3 in the expand pattern from a clobber...
authorJeff Law <law@gcc.gnu.org>
Wed, 6 Jan 1993 17:22:26 +0000 (10:22 -0700)
committerJeff Law <law@gcc.gnu.org>
Wed, 6 Jan 1993 17:22:26 +0000 (10:22 -0700)
* pa.md (millicode expands): Change operand 3 in the expand
pattern from a clobber of a match_scratch to a clobber of a
match_operand with a register predicate.  Make appropriate
change in the generated RTL.
(millicode insns): Clobber a match_operand with a register
predicate instead of a match_scratch expression.
* pa.c (emit_hpdiv_const): Likewise.

From-SVN: r3122

gcc/config/pa/pa.c

index a1df7c7feb2aaa66cb4223efe15bd999afcf6bd8..9dc4ed110afa206992c3447e7061cd79a403d3cd 100644 (file)
@@ -2300,7 +2300,7 @@ emit_hpdiv_const (operands, unsignedp)
                                 gen_rtx (unsignedp ? UDIV : DIV, SImode,
                                          gen_rtx (REG, SImode, 26),
                                          operands[2])),
-                    gen_rtx (CLOBBER, VOIDmode, gen_rtx (SCRATCH, SImode, 0)),
+                    gen_rtx (CLOBBER, VOIDmode, operands[3]),
                     gen_rtx (CLOBBER, VOIDmode, gen_rtx (REG, SImode, 26)),
                     gen_rtx (CLOBBER, VOIDmode, gen_rtx (REG, SImode, 25)),
                     gen_rtx (CLOBBER, VOIDmode, gen_rtx (REG, SImode, 31)))));