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
This commit is contained in:
Jeff Law 1993-01-28 11:59:42 -07:00
parent 15f6ed9f8b
commit 9a82d0bb78
1 changed files with 10 additions and 3 deletions

View File

@ -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); ")