(cpu attribute): List m88100 first for more efficient code in insn-attrtab.c.
authorTom Wood <wood@gnu.org>
Thu, 30 Jul 1992 13:55:22 +0000 (13:55 +0000)
committerTom Wood <wood@gnu.org>
Thu, 30 Jul 1992 13:55:22 +0000 (13:55 +0000)
(cpu attribute): List m88100 first for more efficient
        code in insn-attrtab.c.
(rotate/and split pattern): Fix typo.

From-SVN: r1724

gcc/config/m88k/m88k.md

index 436103e8df9a26fb083813f192a8dc58bc67bcf2..22ce2cd10708bdb1441e5a3e374a86afa1d0ecfd 100644 (file)
 (define_expand "m88k_sccs_id"
   [(match_operand:SI 0 "" "")]
   ""
-  "{ static char sccs_id[] = \"@(#)m88k.md     2.2.6.6 13 Jul 1992 09:43:57\";
+  "{ static char sccs_id[] = \"@(#)m88k.md     2.2.6.10 28 Jul 1992 10:22:08\";
      FAIL; }")
 \f
 ;; Attribute specifications
 
 ; Target CPU.
-(define_attr "cpu" "m88000,m88100,m88110"
+(define_attr "cpu" "m88100,m88110,m88000"
   (const (symbol_ref "m88k_cpu")))
 
 ; Type of each instruction.  Default is arithmetic.
 
 ;; rotate/and[.c] and rotate/ior[.c]
 
-(define_insn ""
-  [(set (match_operand:CC 0 "register_operand" "=r")
-       (ior:CC (rotate:CC (match_operand:CC 1 "register_operand" "r")
-                          (match_operand:CC 2 "int5_operand" ""))
-               (match_operand:CC 3 "register_operand" "r")))
-   (clobber (match_scratch:CC 4 "=r"))]
-  ""
-  "#")
-
 (define_split
   [(set (match_operand:CC 0 "register_operand" "=r")
        (ior:CC (rotate:CC (match_operand:CC 1 "register_operand" "r")
 
 (define_insn ""
   [(set (match_operand:CC 0 "register_operand" "=r")
-       (ior:CC (not:CC (rotate:CC (match_operand:CC 1 "register_operand" "r")
-                                  (match_operand:CC 2 "int5_operand" "")))
+       (ior:CC (rotate:CC (match_operand:CC 1 "register_operand" "r")
+                          (match_operand:CC 2 "int5_operand" ""))
                (match_operand:CC 3 "register_operand" "r")))
    (clobber (match_scratch:CC 4 "=r"))]
   ""
 
 (define_insn ""
   [(set (match_operand:CC 0 "register_operand" "=r")
-       (and:CC (rotate:CC (match_operand:CC 1 "register_operand" "r")
-                          (match_operand:CC 2 "int5_operand" ""))
+       (ior:CC (not:CC (rotate:CC (match_operand:CC 1 "register_operand" "r")
+                                  (match_operand:CC 2 "int5_operand" "")))
                (match_operand:CC 3 "register_operand" "r")))
    (clobber (match_scratch:CC 4 "=r"))]
   ""
   [(set (match_dup 4)
        (rotate:CC (match_dup 1) (match_dup 2)))
    (set (match_dup 0)
-       (ior:CC (match_dup 4) (match_dup 3)))]
+       (and:CC (match_dup 4) (match_dup 3)))]
   "")
 
 (define_insn ""
   [(set (match_operand:CC 0 "register_operand" "=r")
-       (and:CC (not:CC (rotate:CC (match_operand:CC 1 "register_operand" "r")
-                                  (match_operand:CC 2 "int5_operand" "")))
+       (and:CC (rotate:CC (match_operand:CC 1 "register_operand" "r")
+                          (match_operand:CC 2 "int5_operand" ""))
                (match_operand:CC 3 "register_operand" "r")))
    (clobber (match_scratch:CC 4 "=r"))]
   ""
    (set (match_dup 0)
        (and:CC (not:CC (match_dup 4)) (match_dup 3)))]
   "")
+
+(define_insn ""
+  [(set (match_operand:CC 0 "register_operand" "=r")
+       (and:CC (not:CC (rotate:CC (match_operand:CC 1 "register_operand" "r")
+                                  (match_operand:CC 2 "int5_operand" "")))
+               (match_operand:CC 3 "register_operand" "r")))
+   (clobber (match_scratch:CC 4 "=r"))]
+  ""
+  "#")
 \f
 ;; Recognize bcnd instructions for integer values.  This is distinguished
 ;; from a conditional branch instruction (below) with SImode instead of