From: Richard Kenner Date: Mon, 11 Sep 1995 20:54:24 +0000 (-0400) Subject: (cmpdi): Change patterns to allocate scratch register at RTL generation time. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=31b23f2253bac5776f01e4d6eed8adbde831d9fa;p=gcc.git (cmpdi): Change patterns to allocate scratch register at RTL generation time. (tstdi): Likewise. From-SVN: r10307 --- diff --git a/gcc/config/m68k/m68k.md b/gcc/config/m68k/m68k.md index 2b2ed04ac2c..4664f201e5b 100644 --- a/gcc/config/m68k/m68k.md +++ b/gcc/config/m68k/m68k.md @@ -286,14 +286,14 @@ [(parallel [(set (cc0) (match_operand:DI 0 "nonimmediate_operand" "d")) - (clobber (scratch:DI))])] + (clobber (match_dup 1))])] "" - "") + "operands[1] = gen_reg_rtx (DImode);") (define_insn "" [(set (cc0) (match_operand:DI 1 "nonimmediate_operand" "0")) - (clobber (match_scratch:DI 0 "=d"))] + (clobber (match_operand:DI 0 "register_operand" "=d"))] "" "* { @@ -409,15 +409,15 @@ [(set (cc0) (compare (match_operand:DI 0 "nonimmediate_operand" "") (match_operand:DI 1 "general_operand" ""))) - (clobber (scratch:DI))])] + (clobber (match_dup 2))])] "" - "") + "operands[2] = gen_reg_rtx (DImode);") (define_insn "" [(set (cc0) (compare (match_operand:DI 1 "nonimmediate_operand" "0,d") (match_operand:DI 2 "general_operand" "d,0"))) - (clobber (match_scratch:DI 0 "=d,d"))] + (clobber (match_operand:DI 0 "register_operand" "=d,d"))] "" "* {