pa.md (iorsi3): Split into two patterns...
authorJeff Law <law@gcc.gnu.org>
Thu, 28 Jan 1993 18:59:42 +0000 (11:59 -0700)
committerJeff Law <law@gcc.gnu.org>
Thu, 28 Jan 1993 18:59:42 +0000 (11:59 -0700)
* 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

gcc/config/pa/pa.md

index ca11722..5717d6f 100644 (file)
   "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); ")