sh.md (negc): Delete expander.

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

From-SVN: r189759
This commit is contained in:
Oleg Endo 2012-07-22 23:36:01 +00:00
parent 8a0678fa7e
commit 7222fdd830
2 changed files with 6 additions and 11 deletions

View file

@ -1,3 +1,8 @@
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

View file

@ -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"))))