aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1993-01-28 11:59:42 -0700
committerJeff Law <law@gcc.gnu.org>1993-01-28 11:59:42 -0700
commit9a82d0bb78918f5c62e959dc5696acafb69708c9 (patch)
tree97587425aa08615f9da331a393226042e6d496dc /gcc
parent15f6ed9f8b7a622ab343169d8a96587264dbdb73 (diff)
downloadgcc-9a82d0bb78918f5c62e959dc5696acafb69708c9.zip
gcc-9a82d0bb78918f5c62e959dc5696acafb69708c9.tar.gz
gcc-9a82d0bb78918f5c62e959dc5696acafb69708c9.tar.bz2
pa.md (iorsi3): Split into two patterns...
* pa.md (iorsi3): Split into two patterns, a named "iorsi3" which only accepts registers, and a combiner pattern which accepts a restricted set of constant integers for one term. From-SVN: r3382
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/pa/pa.md13
1 files changed, 10 insertions, 3 deletions
diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md
index ca11722..5717d6f 100644
--- a/gcc/config/pa/pa.md
+++ b/gcc/config/pa/pa.md
@@ -1971,10 +1971,17 @@
"or %1,%2,%0\;or %R1,%R2,%R0"
[(set_attr "length" "2")])
+(define_insn ""
+ [(set (match_operand:SI 0 "register_operand" "=r")
+ (ior:SI (match_operand:SI 1 "register_operand" "0")
+ (match_operand:SI 2 "ior_operand" "")))]
+ ""
+ "* return output_ior (operands); ")
+
(define_insn "iorsi3"
- [(set (match_operand:SI 0 "register_operand" "=r,r")
- (ior:SI (match_operand:SI 1 "register_operand" "%r,0")
- (match_operand:SI 2 "ior_operand" "r,n")))]
+ [(set (match_operand:SI 0 "register_operand" "=r")
+ (ior:SI (match_operand:SI 1 "register_operand" "%r")
+ (match_operand:SI 2 "register_operand" "r")))]
""
"* return output_ior (operands); ")