From: Oleg Endo Date: Mon, 23 Jul 2012 22:51:38 +0000 (+0000) Subject: sh.md (addc1, subc1): Delete. X-Git-Tag: upstream/12.2.0~75117 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dad6fafd3eb373e00aa2dfc827ec9d24a897ddc1;p=platform%2Fupstream%2Fgcc.git sh.md (addc1, subc1): Delete. * config/sh/sh.md (addc1, subc1): Delete. (adddi3_compact): Use addc instead of addc1. (subdi3_compact): Use subc instead of subc1. From-SVN: r189795 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 20c0fcd..76872a6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2012-07-23 Oleg Endo + + * config/sh/sh.md (addc1, subc1): Delete. + (adddi3_compact): Use addc instead of addc1. + (subdi3_compact): Use subc instead of subc1. + 2012-07-23 Uros Bizjak * config/i386/i386-protos.c (ix86_lea_outperforms): Remove prototype. diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 35764f8..9d3e0c4 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -1447,7 +1447,7 @@ emit_insn (gen_clrt ()); emit_insn (gen_addc (low0, low0, gen_lowpart (SImode, operands[2]))); - emit_insn (gen_addc1 (high0, high0, high2)); + emit_insn (gen_addc (high0, high0, high2)); DONE; }) @@ -1462,16 +1462,6 @@ "addc %2,%0" [(set_attr "type" "arith")]) -(define_insn "addc1" - [(set (match_operand:SI 0 "arith_reg_dest" "=r") - (plus:SI (plus:SI (match_operand:SI 1 "arith_reg_operand" "0") - (match_operand:SI 2 "arith_reg_operand" "r")) - (reg:SI T_REG))) - (clobber (reg:SI T_REG))] - "TARGET_SH1" - "addc %2,%0" - [(set_attr "type" "arith")]) - (define_expand "addsi3" [(set (match_operand:SI 0 "arith_reg_operand" "") (plus:SI (match_operand:SI 1 "arith_operand" "") @@ -1565,7 +1555,7 @@ emit_insn (gen_clrt ()); emit_insn (gen_subc (low0, low0, gen_lowpart (SImode, operands[2]))); - emit_insn (gen_subc1 (high0, high0, high2)); + emit_insn (gen_subc (high0, high0, high2)); DONE; }) @@ -1582,16 +1572,6 @@ "subc %2,%0" [(set_attr "type" "arith")]) -(define_insn "subc1" - [(set (match_operand:SI 0 "arith_reg_dest" "=r") - (minus:SI (minus:SI (match_operand:SI 1 "arith_reg_operand" "0") - (match_operand:SI 2 "arith_reg_operand" "r")) - (reg:SI T_REG))) - (clobber (reg:SI T_REG))] - "TARGET_SH1" - "subc %2,%0" - [(set_attr "type" "arith")]) - ;; life_analysis thinks rn is live before subc rn,rn, so make a special ;; pattern for this case. This helps multimedia applications that compute ;; the sum of absolute differences.