This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/51244] SH Target: Inefficient conditional branch


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

--- Comment #45 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-07-30 06:46:40 UTC ---
Author: olegendo
Date: Mon Jul 30 06:46:36 2012
New Revision: 189953

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189953
Log:
    PR target/51244
    * config/sh/sh.md (mov_neg_si_t): Move to Scc instructions section.
    Use t_reg_operand predicate.  Add split for negated case.
    (ashrsi2_31): Pass get_t_reg_rtx to gen_mov_neg_si_t.
    * config/sh/sh.c (expand_ashiftrt): Likewise.

    PR target/51244
    * gcc.target/sh/pr51244-4.c: New.


Added:
    trunk/gcc/testsuite/gcc.target/sh/pr51244-4.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/sh/sh.c
    trunk/gcc/config/sh/sh.md
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]