aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/m68k/m68k.md6
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a82c6d3..9dd40f7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/m68k/m68k.md b/gcc/config/m68k/m68k.md
index 8522cc1..29624a4 100644
--- a/gcc/config/m68k/m68k.md
+++ b/gcc/config/m68k/m68k.md
@@ -432,15 +432,15 @@
[(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]))