(iorsi3): Explicitly set length to 1.
authorRichard Stallman <rms@gnu.org>
Mon, 14 Jun 1993 18:06:44 +0000 (18:06 +0000)
committerRichard Stallman <rms@gnu.org>
Mon, 14 Jun 1993 18:06:44 +0000 (18:06 +0000)
(andsi3, lshrsi3, rotrsi3, rotlsi3): Likewise.
(ashift and ashiftrt by const_int_operand): Likewise.
((and (ashift)) optimizer): Likewise.

From-SVN: r4676

gcc/config/pa/pa.md

index 3fd6c893a1db3f897c77a84557cdd901068d04bd..98f5042075d8c5645852751a6ec39e0d23cced44 100644 (file)
        (and:SI (match_operand:SI 1 "register_operand" "%r,0")
                (match_operand:SI 2 "and_operand" "rO,P")))]
   ""
-  "* return output_and (operands); ")
+  "* return output_and (operands); "
+  [(set_attr "type" "binary")
+   (set_attr "length" "1")])
 
 (define_insn ""
   [(set (match_operand:DI 0 "register_operand" "=r")
        (ior:SI (match_operand:SI 1 "register_operand" "0")
                (match_operand:SI 2 "ior_operand" "")))]
   ""
-  "* return output_ior (operands); ")
+  "* return output_ior (operands); "
+  [(set_attr "type" "binary")
+   (set_attr "length" "1")])
 
 (define_insn ""
   [(set (match_operand:SI 0 "register_operand" "=r")
        (ashift:SI (match_operand:SI 1 "register_operand" "r")
                   (match_operand:SI 2 "const_int_operand" "n")))]
   ""
-  "zdep %1,%P2,%L2,%0")
+  "zdep %1,%P2,%L2,%0"
+  [(set_attr "type" "binary")
+   (set_attr "length" "1")])
 
 ; Match cases of op1 a CONST_INT here that zvdep_imm doesn't handle.
 ; Doing it like this makes slightly better code since reload can
        (ashiftrt:SI (match_operand:SI 1 "register_operand" "r")
                     (match_operand:SI 2 "const_int_operand" "n")))]
   ""
-  "extrs %1,%P2,%L2,%0")
+  "extrs %1,%P2,%L2,%0"
+  [(set_attr "type" "binary")
+   (set_attr "length" "1")])
 
 (define_insn "vextrs32"
   [(set (match_operand:SI 0 "register_operand" "=r")
   ""
   "@
    vshd 0,%1,%0
-   extru %1,%P2,%L2,%0")
+   extru %1,%P2,%L2,%0"
+  [(set_attr "type" "binary")
+   (set_attr "length" "1")])
 
 (define_insn "rotrsi3"
   [(set (match_operand:SI 0 "register_operand" "=r,r")
     }
   else
     return \"vshd %1,%1,%0\";
-}")
+}"
+  [(set_attr "type" "binary")
+   (set_attr "length" "1")])
 
 (define_insn "rotlsi3"
   [(set (match_operand:SI 0 "register_operand" "=r")
 {
   operands[2] = GEN_INT ((32 - INTVAL (operands[2])) & 31);
   return \"shd %1,%1,%2,%0\";
-}")
+}"
+  [(set_attr "type" "binary")
+   (set_attr "length" "1")])
 
 (define_insn ""
   [(set (match_operand:SI 0 "register_operand" "=r")
   operands[3] = GEN_INT (exact_log2 (1 + (INTVAL (operands[3]) >> cnt)));
   operands[2] = GEN_INT (31 - cnt);
   return \"zdep %1,%2,%3,%0\";
-}")
+}"
+  [(set_attr "type" "binary")
+   (set_attr "length" "1")])
 \f
 ;; Unconditional and other jump instructions.