Commit 7222fdd8 by Oleg Endo

sh.md (negc): Delete expander.

	* config/sh/sh.md (negc): Delete expander.
	(*negc): Rename insn to negc.

From-SVN: r189759
parent 8a0678fa
2012-07-22 Oleg Endo <olegendo@gcc.gnu.org>
* config/sh/sh.md (negc): Delete expander.
(*negc): Rename insn to negc.
2012-07-22 Uros Bizjak <ubizjak@gmail.com>
PR target/53961
......
......@@ -4256,17 +4256,7 @@ label:
;; Unary arithmetic
;; -------------------------------------------------------------------------
(define_expand "negc"
[(parallel [(set (match_operand:SI 0 "arith_reg_dest" "")
(neg:SI (plus:SI (reg:SI T_REG)
(match_operand:SI 1 "arith_reg_operand" ""))))
(set (reg:SI T_REG)
(ne:SI (ior:SI (reg:SI T_REG) (match_dup 1))
(const_int 0)))])]
""
"")
(define_insn "*negc"
(define_insn "negc"
[(set (match_operand:SI 0 "arith_reg_dest" "=r")
(neg:SI (plus:SI (reg:SI T_REG)
(match_operand:SI 1 "arith_reg_operand" "r"))))
......
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