sh.md (negc): Delete expander.
authorOleg Endo <olegendo@gcc.gnu.org>
Sun, 22 Jul 2012 23:36:01 +0000 (23:36 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Sun, 22 Jul 2012 23:36:01 +0000 (23:36 +0000)
* config/sh/sh.md (negc): Delete expander.
(*negc): Rename insn to negc.

From-SVN: r189759

gcc/ChangeLog
gcc/config/sh/sh.md

index df66271..9d94d77 100644 (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
index 0358b75..5aaea42 100644 (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"))))