(iordi3): Rename ior_operand to or_operand.
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 27 May 1994 20:38:54 +0000 (16:38 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 27 May 1994 20:38:54 +0000 (16:38 -0400)
(xordi3): Use or_operand and add second alternative.
(eqv): Only accept registers.

From-SVN: r7369

gcc/config/alpha/alpha.md

index 4d1a051484f776a9ec4018058de3a976a4e73da8..8b190996d7b2f712c7aae32d5d2b98ed531edfa3 100644 (file)
 (define_insn "iordi3"
   [(set (match_operand:DI 0 "register_operand" "=r,r")
        (ior:DI (match_operand:DI 1 "reg_or_0_operand" "%rJ,rJ")
-               (match_operand:DI 2 "ior_operand" "rI,N")))]
+               (match_operand:DI 2 "or_operand" "rI,N")))]
   ""
   "@
    bis %r1,%2,%0
   [(set_attr "type" "iaddlog")])
 
 (define_insn "xordi3"
-  [(set (match_operand:DI 0 "register_operand" "=r")
-       (xor:DI (match_operand:DI 1 "reg_or_0_operand" "%rJ")
-               (match_operand:DI 2 "reg_or_8bit_operand" "rI")))]
+  [(set (match_operand:DI 0 "register_operand" "=r,r")
+       (xor:DI (match_operand:DI 1 "reg_or_0_operand" "%rJ,rJ")
+               (match_operand:DI 2 "or_operand" "rI,N")))]
   ""
-  "xor %r1,%2,%0"
+  "@
+   xor %r1,%2,%0
+   eqv %r1,%N2,%0"
   [(set_attr "type" "iaddlog")])
 
 (define_insn ""
   [(set (match_operand:DI 0 "register_operand" "=r")
-       (not:DI (xor:DI (match_operand:DI 1 "reg_or_0_operand" "%rJ")
-                       (match_operand:DI 2 "reg_or_8bit_operand" "rI"))))]
+       (not:DI (xor:DI (match_operand:DI 1 "register_operand" "%rJ")
+                       (match_operand:DI 2 "register_operand" "rI"))))]
   ""
   "eqv %r1,%2,%0"
   [(set_attr "type" "iaddlog")])