Commit 9a82d0bb by Jeff Law

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
parent 15f6ed9f
......@@ -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); ")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment