* config/m68k/m68k.md (cmpdi): Use (scratch) instead of pseudo.
authorMaxim Kuvyrkov <maxim@codesourcery.com>
Mon, 24 Nov 2008 22:18:30 +0000 (22:18 +0000)
committerMaxim Kuvyrkov <mkuvyrkov@gcc.gnu.org>
Mon, 24 Nov 2008 22:18:30 +0000 (22:18 +0000)
From-SVN: r142176

gcc/ChangeLog
gcc/config/m68k/m68k.md

index a82c6d3..9dd40f7 100644 (file)
@@ -1,3 +1,7 @@
+2008-11-24  Maxim Kuvyrkov  <maxim@codesourcery.com>
+
+       * config/m68k/m68k.md (cmpdi): Use (scratch) instead of pseudo.
+
 2008-11-24  Richard Sandiford  <rdsandiford@googlemail.com>
 
        * config/mips/mips.h (ASM_OUTPUT_DEBUG_LABEL): Define.
index 8522cc1..29624a4 100644 (file)
     [(set (cc0)
          (compare (match_operand:DI 0 "nonimmediate_operand" "")
                   (match_operand:DI 1 "general_operand" "")))
-     (clobber (match_dup 2))])]
+     (clobber (match_scratch:DI 2 ""))])]
   ""
-  "m68k_last_compare_had_fp_operands = 0; operands[2] = gen_reg_rtx (DImode);")
+  "m68k_last_compare_had_fp_operands = 0;")
 
 (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"))]
   ""
 {
   if (rtx_equal_p (operands[0], operands[1]))