From b83b72a6fa53139ea1e2a39186c108925d66be6c Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Mon, 17 Jul 1995 06:41:04 -0400 Subject: [PATCH] (tstdi, cmpdi): Use match_scratch, not match_operand. From-SVN: r10139 --- gcc/config/m68k/m68k.md | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/gcc/config/m68k/m68k.md b/gcc/config/m68k/m68k.md index 8d5cfee5e7a..520c2c66dee 100644 --- a/gcc/config/m68k/m68k.md +++ b/gcc/config/m68k/m68k.md @@ -286,17 +286,14 @@ [(parallel [(set (cc0) (match_operand:DI 0 "nonimmediate_operand" "d")) - (clobber (match_dup 1))])] + (clobber (scratch:DI))])] "" - " -{ - operands[1] = gen_reg_rtx (DImode); -}") + "") (define_insn "" [(set (cc0) (match_operand:DI 1 "nonimmediate_operand" "0")) - (clobber (match_operand:DI 0 "register_operand" "=d"))] + (clobber (match_scratch:DI 0 "=d"))] "" "* { @@ -412,18 +409,15 @@ [(set (cc0) (compare (match_operand:DI 0 "nonimmediate_operand" "") (match_operand:DI 1 "general_operand" ""))) - (clobber (match_dup 2))])] + (clobber (scratch:DI))])] "" - " -{ - 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_operand:DI 0 "register_operand" "=d,d"))] + (clobber (match_scratch:DI 0 "=d,d"))] "" "* { -- 2.30.2