(iordi3): Use ornot for some constant cases.
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 27 Dec 1993 11:28:38 +0000 (06:28 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 27 Dec 1993 11:28:38 +0000 (06:28 -0500)
From-SVN: r6332

gcc/config/alpha/alpha.md

index a7c2e9f34542c7af2ded2d553f2c4b15807c0775..73ab0c692469960b4ad1d6c4cc8e293921bb2b41 100644 (file)
   [(set_attr "type" "iaddlog")])
 
 (define_insn "iordi3"
-  [(set (match_operand:DI 0 "register_operand" "=r")
-       (ior: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")
+       (ior:DI (match_operand:DI 1 "reg_or_0_operand" "%rJ,rJ")
+               (match_operand:DI 2 "ior_operand" "rI,N")))]
   ""
-  "bis %r1,%2,%0"
+  "@
+   bis %r1,%2,%0
+   ornot %r1,%N2,%0"
   [(set_attr "type" "iaddlog")])
 
 (define_insn "one_cmpldi2"