Delete useless patterns
authorBernd Schmidt <bernds@cygnus.co.uk>
Mon, 29 Nov 1999 11:06:51 +0000 (11:06 +0000)
committerBernd Schmidt <crux@gcc.gnu.org>
Mon, 29 Nov 1999 11:06:51 +0000 (11:06 +0000)
From-SVN: r30699

gcc/ChangeLog
gcc/config/alpha/alpha.md

index 717e1e2599df2da58b5102ce78a3838b6b7affa0..1105e2143a1ce33599cb869570f2ac784cb319c9 100644 (file)
@@ -1,5 +1,8 @@
 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
 
+       * alpha.md: Delete useless patterns that tried to work around
+       register elimination problems.
+
        * unroll.c (loop_iterations): Don't abort if iteration variable
        was made by loop.
 
index c5a0db1264da6ececc985055c6b0f3fc153285b6..5d5b8d2de9aaa68e45141c160b446a26325900fc 100644 (file)
    s%2addq %1,%3,%0
    s%2subq %1,%n3,%0")
 
-;; These variants of the above insns can occur if the third operand
-;; is the frame pointer, or other eliminable register.  E.g. some
-;; register holding an offset from the stack pointer.  This is a
-;; kludge, but there doesn't seem to be a way around it.  Only
-;; recognize them while reloading.
-
-(define_insn ""
-  [(set (match_operand:DI 0 "some_ni_operand" "=r,&r")
-       (plus:DI (plus:DI (match_operand:DI 1 "some_operand" "%r,r")
-                         (match_operand:DI 2 "some_operand" "%r,r"))
-                (match_operand:DI 3 "some_operand" "IOKL,r")))]
-  "reload_in_progress"
-  "#")
-
-(define_split
-  [(set (match_operand:DI 0 "register_operand" "")
-       (plus:DI (plus:DI (match_operand:DI 1 "register_operand" "")
-                         (match_operand:DI 2 "register_operand" ""))
-                (match_operand:DI 3 "add_operand" "")))]
-  "reload_completed"
-  [(set (match_dup 0) (plus:DI (match_dup 1) (match_dup 2)))
-   (set (match_dup 0) (plus:DI (match_dup 0) (match_dup 3)))]
-  "")
-                                          
-(define_insn ""
-  [(set (match_operand:SI 0 "some_ni_operand" "=r,&r")
-       (plus:SI (plus:SI (mult:SI (match_operand:SI 1 "some_operand" "rJ,rJ")
-                                  (match_operand:SI 2 "const48_operand" "I,I"))
-                         (match_operand:SI 3 "some_operand" "%r,r"))
-                (match_operand:SI 4 "some_operand" "IOKL,r")))]
-  "reload_in_progress"
-  "#")
-
-(define_split
-  [(set (match_operand:SI 0 "register_operand" "")
-       (plus:SI (plus:SI (mult:SI (match_operand:SI 1 "reg_or_0_operand" "")
-                                  (match_operand:SI 2 "const48_operand" ""))
-                         (match_operand:SI 3 "register_operand" ""))
-                (match_operand:SI 4 "add_operand" "rIOKL")))]
-  "reload_completed"
-  [(set (match_dup 0)
-       (plus:SI (mult:SI (match_dup 1) (match_dup 2)) (match_dup 3)))
-   (set (match_dup 0) (plus:SI (match_dup 0) (match_dup 4)))]
-  "")
-
-(define_insn ""
-  [(set (match_operand:DI 0 "some_ni_operand" "=r,&r")
-       (sign_extend:DI
-        (plus:SI (plus:SI
-                  (mult:SI (match_operand:SI 1 "some_operand" "rJ,rJ")
-                           (match_operand:SI 2 "const48_operand" "I,I"))
-                  (match_operand:SI 3 "some_operand" "%r,r"))
-                 (match_operand:SI 4 "some_operand" "IO,r"))))]
-  "reload_in_progress"
-  "#")
-
-(define_split
-  [(set (match_operand:DI 0 "register_operand" "")
-       (sign_extend:DI
-        (plus:SI (plus:SI
-                  (mult:SI (match_operand:SI 1 "reg_or_0_operand" "")
-                           (match_operand:SI 2 "const48_operand" ""))
-                  (match_operand:SI 3 "register_operand" ""))
-                 (match_operand:SI 4 "sext_add_operand" ""))))]
-  "reload_completed"
-  [(set (match_dup 5)
-       (plus:SI (mult:SI (match_dup 1) (match_dup 2)) (match_dup 3)))
-   (set (match_dup 0) (sign_extend:DI (plus:SI (match_dup 5) (match_dup 4))))]
-  "operands[5] = gen_lowpart (SImode, operands[0]);")
-
-(define_insn ""
-  [(set (match_operand:DI 0 "some_ni_operand" "=r,&r")
-       (plus:DI (plus:DI (mult:DI (match_operand:DI 1 "some_operand" "rJ,rJ")
-                                  (match_operand:DI 2 "const48_operand" "I,I"))
-                         (match_operand:DI 3 "some_operand" "%r,r"))
-                (match_operand:DI 4 "some_operand" "IOKL,r")))]
-  "reload_in_progress"
-  "#")
-
-(define_split
-  [(set (match_operand:DI 0 "register_operand" "")
-       (plus:DI (plus:DI (mult:DI (match_operand:DI 1 "reg_or_0_operand" "")
-                                  (match_operand:DI 2 "const48_operand" ""))
-                         (match_operand:DI 3 "register_operand" ""))
-                (match_operand:DI 4 "add_operand" "")))]
-  "reload_completed"
-  [(set (match_dup 0)
-       (plus:DI (mult:DI (match_dup 1) (match_dup 2)) (match_dup 3)))
-   (set (match_dup 0) (plus:DI (match_dup 0) (match_dup 4)))]
-  "")
-
 (define_insn "negsi2"
   [(set (match_operand:SI 0 "register_operand" "=r")
        (neg:SI (match_operand:SI 1 "reg_or_8bit_operand" "rI")))]