(tstdi, cmpdi): Use match_scratch, not match_operand.
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 17 Jul 1995 10:41:04 +0000 (06:41 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 17 Jul 1995 10:41:04 +0000 (06:41 -0400)
From-SVN: r10139

gcc/config/m68k/m68k.md

index 8d5cfee5e7aeaf244362c0d7eda59090f7e28f4c..520c2c66deef2334953a4a71606984722dfb7398 100644 (file)
   [(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"))]
   ""
   "*
 {
     [(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"))]
   ""
   "*
 {