summaryrefslogtreecommitdiff
path: root/gcc/config/m68k
diff options
context:
space:
mode:
authormkuvyrkov <mkuvyrkov@138bc75d-0d04-0410-961f-82ee72b054a4>2008-11-24 22:18:30 +0000
committermkuvyrkov <mkuvyrkov@138bc75d-0d04-0410-961f-82ee72b054a4>2008-11-24 22:18:30 +0000
commit9319f8948021258e406f72c174922f9350fa40bf (patch)
tree647194fe83d0399f41a056fd321c3334e3e48b25 /gcc/config/m68k
parent95a3a85e7bdbe2013afd98ff25aa9bf940c69fa0 (diff)
downloadgcc-9319f8948021258e406f72c174922f9350fa40bf.tar.gz
* config/m68k/m68k.md (cmpdi): Use (scratch) instead of pseudo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142176 138bc75d-0d04-0410-961f-82ee72b054a4
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 8522cc1a24d..29624a4f5ac 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]))