Commit ef64fa15 by Torbjorn Granlund

(eq reg (const_int 0)): New pattern.

From-SVN: r12575
parent a0279a61
......@@ -352,6 +352,13 @@
(define_insn ""
[(set (match_operand:SI 0 "general_operand" "=d")
(eq:SI (match_operand:SI 1 "register_operand" "d") (const_int 0)))]
""
"shro %1,1,%0"
[(set_attr "type" "alu2")])
(define_insn ""
[(set (match_operand:SI 0 "general_operand" "=d")
(match_operator:SI 1 "comparison_operator" [(reg:CC 36) (const_int 0)]))]
""
"test%C1 %0"
......
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