re PR target/54236 ([SH] Improve addc and subc insn utilization)
authorOleg Endo <olegendo@gcc.gnu.org>
Thu, 16 Aug 2012 23:19:45 +0000 (23:19 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Thu, 16 Aug 2012 23:19:45 +0000 (23:19 +0000)
commit0c66c562617e31c91f7048da761ed0eaf9d5c1bb
tree4e1cabf9877a8b6fbc1ec3c14a08cbf72706a59c
parent9839afaf5e6f9271f902f50ed2827a4faa274894
re PR target/54236 ([SH] Improve addc and subc insn utilization)

PR target/54236
* config/sh/sh.md (addc): Add commutative modifier.
(*addc, *minus_plus_one, *subc, *negc): New insns and splits.

PR target/54236
* gcc.target/sh/pr54236-1.c: New.

From-SVN: r190459
gcc/ChangeLog
gcc/config/sh/sh.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/sh/pr54236-1.c [new file with mode: 0644]