aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@redhat.com>2005-02-10 20:43:44 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2005-02-10 20:43:44 +0000
commita0c5992a2084f23d36187430a733673e2601705e (patch)
tree49428c24282108d8a9f586ad83b36a9df9f92bd6 /gcc
parent0388d40ad30e132108800a6910e01046004ad20d (diff)
downloadgcc-a0c5992a2084f23d36187430a733673e2601705e.zip
gcc-a0c5992a2084f23d36187430a733673e2601705e.tar.gz
gcc-a0c5992a2084f23d36187430a733673e2601705e.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/mips.md6
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 <rsandifo@redhat.com>
+
+ * config/mips/mips.md: Fix the placement of the match_scratch in the
+ lea64 peephole2.
+
2005-02-10 Kazu Hirata <kazu@cs.umass.edu>
* 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)))