mips.md: Fix the placement of the match_scratch in the lea64 peephole2.
authorRichard Sandiford <rsandifo@redhat.com>
Thu, 10 Feb 2005 20:43:44 +0000 (20:43 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 10 Feb 2005 20:43:44 +0000 (20:43 +0000)
* config/mips/mips.md: Fix the placement of the match_scratch in the
lea64 peephole2.

From-SVN: r94846

gcc/ChangeLog
gcc/config/mips/mips.md

index d8da914663b353b30b425a538bc66aef1bb745d9..3ea3e792a90d3d5cbefd6df12380761dd09ef891 100644 (file)
@@ -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:
index ba99796fc4712a0af72b856496833b98d10776d1..b00cbac4dbc1f491a3634c815b258cafd5024422 100644 (file)
@@ -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)))