aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-06-14 18:06:44 +0000
committerRichard Stallman <rms@gnu.org>1993-06-14 18:06:44 +0000
commit34f921d8b8d544df586cc45d0c3e72928bddeaaa (patch)
treed35c75e0618854428a28085ececd99bb7a3f886f /gcc
parentdbf85761b58b9dcc84cc4c5bebe4f77d8140c097 (diff)
downloadgcc-34f921d8b8d544df586cc45d0c3e72928bddeaaa.zip
gcc-34f921d8b8d544df586cc45d0c3e72928bddeaaa.tar.gz
gcc-34f921d8b8d544df586cc45d0c3e72928bddeaaa.tar.bz2
(iorsi3): Explicitly set length to 1.
(andsi3, lshrsi3, rotrsi3, rotlsi3): Likewise. (ashift and ashiftrt by const_int_operand): Likewise. ((and (ashift)) optimizer): Likewise. From-SVN: r4676
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/pa/pa.md32
1 files changed, 24 insertions, 8 deletions
diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md
index 3fd6c89..98f5042 100644
--- a/gcc/config/pa/pa.md
+++ b/gcc/config/pa/pa.md
@@ -2149,7 +2149,9 @@
(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")
@@ -2204,7 +2206,9 @@
(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")
@@ -2461,7 +2465,9 @@
(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
@@ -2514,7 +2520,9 @@
(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")
@@ -2531,7 +2539,9 @@
""
"@
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")
@@ -2547,7 +2557,9 @@
}
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")
@@ -2558,7 +2570,9 @@
{
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")
@@ -2596,7 +2610,9 @@
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")])
;; Unconditional and other jump instructions.