[Bug target/54236] [SH] Improve addc and subc insn utilization

olegendo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 16 23:20:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54236

--- Comment #1 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-08-16 23:19:51 UTC ---
Author: olegendo
Date: Thu Aug 16 23:19:45 2012
New Revision: 190459

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190459
Log:
    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.


Added:
    trunk/gcc/testsuite/gcc.target/sh/pr54236-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/sh/sh.md
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list