aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/m68k
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim@codesourcery.com>2008-11-24 22:18:30 +0000
committerMaxim Kuvyrkov <mkuvyrkov@gcc.gnu.org>2008-11-24 22:18:30 +0000
commit467a1bf1e95118b02793c3eef6422e8744245c11 (patch)
tree647194fe83d0399f41a056fd321c3334e3e48b25 /gcc/config/m68k
parent370d36c65639c542ac6fdc892164edc63b1f6221 (diff)
downloadgcc-467a1bf1e95118b02793c3eef6422e8744245c11.zip
gcc-467a1bf1e95118b02793c3eef6422e8744245c11.tar.gz
gcc-467a1bf1e95118b02793c3eef6422e8744245c11.tar.bz2
* config/m68k/m68k.md (cmpdi): Use (scratch) instead of pseudo.
From-SVN: r142176
Diffstat (limited to 'gcc/config/m68k')
-rw-r--r--gcc/config/m68k/m68k.md6
1 files changed, 3 insertions, 3 deletions
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]))