From 7222fdd8306c11d740b32440eb5ad63a4f2b2194 Mon Sep 17 00:00:00 2001 From: Oleg Endo Date: Sun, 22 Jul 2012 23:36:01 +0000 Subject: [PATCH] sh.md (negc): Delete expander. * config/sh/sh.md (negc): Delete expander. (*negc): Rename insn to negc. From-SVN: r189759 --- gcc/ChangeLog | 5 +++++ gcc/config/sh/sh.md | 12 +----------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index df66271..9d94d77 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-07-22 Oleg Endo + + * config/sh/sh.md (negc): Delete expander. + (*negc): Rename insn to negc. + 2012-07-22 Uros Bizjak PR target/53961 diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 0358b75..5aaea42 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -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")))) -- 2.7.4