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 #47 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-08-12 22:47:21 UTC ---
Author: olegendo
Date: Sun Aug 12 22:47:15 2012
New Revision: 190331

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190331
Log:
    PR target/51244
    * config/sh/sh.md: Add splits for inverted compare and branch
    opportunities.
    (*cmpeqsi_t): New insn.
    (cmpgtsi_t, cmpgesi_t): Swap r and N alternatives.
    (cmpgeusi_t): Use satisfies_constraint_Z.  Emit sett insn in
    replacement insn list and not in the preparation statements.
    (clrt, sett): Add mt_group attribute.

    PR target/51244
    * gcc.target/sh/pr51244-7.c: New.
    * gcc.target/sh/pr51244-8.c: New.
    * gcc.target/sh/pr51244-9.c: New.
    * gcc.target/sh/pr51244-10.c: New.


Added:
    trunk/gcc/testsuite/gcc.target/sh/pr51244-10.c
    trunk/gcc/testsuite/gcc.target/sh/pr51244-7.c
    trunk/gcc/testsuite/gcc.target/sh/pr51244-8.c
    trunk/gcc/testsuite/gcc.target/sh/pr51244-9.c
Modified:
    trunk/gcc/ChangeLog
    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]