Commit 60614fdd by Richard Kenner

(iordi3): Use ornot for some constant cases.

From-SVN: r6332
parent a61edda5
...@@ -611,11 +611,13 @@ ...@@ -611,11 +611,13 @@
[(set_attr "type" "iaddlog")]) [(set_attr "type" "iaddlog")])
(define_insn "iordi3" (define_insn "iordi3"
[(set (match_operand:DI 0 "register_operand" "=r") [(set (match_operand:DI 0 "register_operand" "=r,r")
(ior:DI (match_operand:DI 1 "reg_or_0_operand" "%rJ") (ior:DI (match_operand:DI 1 "reg_or_0_operand" "%rJ,rJ")
(match_operand:DI 2 "reg_or_8bit_operand" "rI")))] (match_operand:DI 2 "ior_operand" "rI,N")))]
"" ""
"bis %r1,%2,%0" "@
bis %r1,%2,%0
ornot %r1,%N2,%0"
[(set_attr "type" "iaddlog")]) [(set_attr "type" "iaddlog")])
(define_insn "one_cmpldi2" (define_insn "one_cmpldi2"
......
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