Remove 29050-specific variants of patterns generating loadm that have earlyclobber.
authorRichard Kenner <kenner@gcc.gnu.org>
Thu, 28 Jan 1993 12:30:12 +0000 (07:30 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Thu, 28 Jan 1993 12:30:12 +0000 (07:30 -0500)
Remove 29050-specific variants of patterns generating loadm that have
earlyclobber.  This was put in for some very old version of the '050,
which isn't used anymore, that had a bug.

From-SVN: r3376

gcc/config/a29k/a29k.md

index daec9e6..12b3567 100644 (file)
    (use (match_operand:PSI 2 "register_operand" "+c"))
    (clobber (match_dup 2))]
   "GET_MODE (operands[0]) == GET_MODE (operands[1])
-   && GET_MODE_SIZE (GET_MODE (operands[0])) > UNITS_PER_WORD
-   && ! TARGET_29050"
-  "loadm 0,0,%0,%1"
-  [(set_attr "type" "load")])
-
-(define_insn ""
-  [(set (match_operand 0 "gpc_reg_operand" "=&r")
-       (match_operand 1 "memory_operand" "m"))
-   (use (match_operand:PSI 2 "register_operand" "+c"))
-   (clobber (match_dup 2))]
-  "GET_MODE (operands[0]) == GET_MODE (operands[1])
-   && GET_MODE_SIZE (GET_MODE (operands[0])) > UNITS_PER_WORD
-   && TARGET_29050"
+   && GET_MODE_SIZE (GET_MODE (operands[0])) > UNITS_PER_WORD"
   "loadm 0,0,%0,%1"
   [(set_attr "type" "load")])
 
                         (match_operand:SI 2 "memory_operand" "m"))
                    (use (match_operand:PSI 3 "register_operand" "+c"))
                    (clobber (match_dup 3))])]
-  "! TARGET_29050"
-  "loadm 0,0,%1,%2"
-  [(set_attr "type" "load")])
-
-(define_insn ""
-  [(match_parallel 0 "load_multiple_operation"
-                  [(set (match_operand:SI 1 "gpc_reg_operand" "=&r")
-                        (match_operand:SI 2 "memory_operand" "m"))
-                   (use (match_operand:PSI 3 "register_operand" "+c"))
-                   (clobber (match_dup 3))])]
-  "TARGET_29050"
+  ""
   "loadm 0,0,%1,%2"
   [(set_attr "type" "load")])
 \f
   [(set_attr "type" "multi")])
 
 (define_insn ""
-  [(set (match_operand:DF 0 "out_operand" "=?r,?r,&r,m,?*a,?r")
+  [(set (match_operand:DF 0 "out_operand" "=?r,?r,r,m,?*a,?r")
        (match_operand:DF 1 "in_operand" "rE,F,m,r,r,*a"))
    (clobber (match_scratch:PSI 2 "=X,X,&c,&c,X,X"))]
   "(gpc_reg_operand (operands[0], DFmode)
        (match_operand:DI 1 "in_operand" "rn,m,r"))
    (clobber (match_scratch:PSI 2 "=X,&c,&c"))]
   "(gpc_reg_operand (operands[0], DImode)
-     || gpc_reg_operand (operands[1], DImode))
-   && ! TARGET_29050"
-  "@
-   #
-   mtsrim cr,1\;loadm 0,0,%0,%1
-   mtsrim cr,1\;storem 0,0,%1,%0"
-  [(set_attr "type" "multi")])
-
-(define_insn ""
-  [(set (match_operand:DI 0 "out_operand" "=?r,&r,m")
-       (match_operand:DI 1 "in_operand" "rn,m,r"))
-   (clobber (match_scratch:PSI 2 "=X,&c,&c"))]
-  "(gpc_reg_operand (operands[0], DImode)
-     || gpc_reg_operand (operands[1], DImode))
-   && TARGET_29050"
+     || gpc_reg_operand (operands[1], DImode))"
   "@
    #
    mtsrim cr,1\;loadm 0,0,%0,%1
        (match_operand:TI 1 "in_operand" "r,m,r"))
    (clobber (match_scratch:PSI 2 "=X,&c,&c"))]
   "(gpc_reg_operand (operands[0], TImode)
-    || gpc_reg_operand (operands[1], TImode))
-   && ! TARGET_29050"
-  "@
-   #
-   mtsrim cr,3\;loadm 0,0,%0,%1
-   mtsrim cr,3\;storem 0,0,%1,%0"
-  [(set_attr "type" "multi,multi,multi")])
-
-(define_insn ""
-  [(set (match_operand:TI 0 "out_operand" "=?r,&r,m")
-       (match_operand:TI 1 "in_operand" "r,m,r"))
-   (clobber (match_scratch:PSI 2 "=X,&c,&c"))]
-  "(gpc_reg_operand (operands[0], TImode)
-    || gpc_reg_operand (operands[1], TImode))
-   && TARGET_29050"
+    || gpc_reg_operand (operands[1], TImode))"
   "@
    #
    mtsrim cr,3\;loadm 0,0,%0,%1