From a0c5992a2084f23d36187430a733673e2601705e Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Thu, 10 Feb 2005 20:43:44 +0000 Subject: [PATCH] mips.md: Fix the placement of the match_scratch in the lea64 peephole2. * config/mips/mips.md: Fix the placement of the match_scratch in the lea64 peephole2. From-SVN: r94846 --- gcc/ChangeLog | 5 +++++ gcc/config/mips/mips.md | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d8da914..3ea3e79 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-02-10 Richard Sandiford + + * config/mips/mips.md: Fix the placement of the match_scratch in the + lea64 peephole2. + 2005-02-10 Kazu Hirata * cse.c, tree-ssa-loop-ivopts.c, config/rs6000/linux-unwind.h: diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index ba99796..b00cbac 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -2903,9 +2903,9 @@ beq\t%2,%.,1b\;\ ;; dsll32 op1,op1,0 ;; daddu op1,op1,op0 (define_peephole2 - [(match_scratch:DI 0 "d") - (set (match_operand:DI 1 "register_operand") - (high:DI (match_operand:DI 2 "general_symbolic_operand")))] + [(set (match_operand:DI 1 "register_operand") + (high:DI (match_operand:DI 2 "general_symbolic_operand"))) + (match_scratch:DI 0 "d")] "TARGET_EXPLICIT_RELOCS && ABI_HAS_64BIT_SYMBOLS" [(set (match_dup 1) (high:DI (match_dup 3))) (set (match_dup 0) (high:DI (match_dup 4))) -- 2.7.4