mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-18 09:54:16 +08:00
(eq reg (const_int 0)): New pattern.
From-SVN: r12575
This commit is contained in:
parent
a0279a61ae
commit
ef64fa154d
@ -350,6 +350,13 @@
|
||||
operands[1] = gen_compare_reg (LEU, i960_compare_op0, i960_compare_op1);
|
||||
}")
|
||||
|
||||
(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)]))]
|
||||
|
Loading…
Reference in New Issue
Block a user