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/52898] SH Target: Inefficient DImode comparisons


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52898

--- Comment #11 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Author: olegendo
Date: Mon May  2 05:25:46 2016
New Revision: 235698

URL: https://gcc.gnu.org/viewcvs?rev=235698&root=gcc&view=rev
Log:
gcc/
        PR target/52898
        * config/sh/sh.c (sh_option_override): Remove TARGET_CBRANCHDI4,
        TARGET_CMPEQDI_T.
        (prepare_cbranch_operands): Don't use scratch register.  Assume that
        function is used when pseudos can be created.
        (expand_cbranchdi4): Likewise.  Remove unused TARGET_CMPEQDI_T paths.
        * config/sh/sh.md (cbranchsi4): Allow only when pseudos can be created.
        (cbranchdi4, cbranchdi4_i): Simplify to single cbranchdi4
        define_expand.  Allow it only when pseudos can be created.
        * config/sh/sh.opt (mcbranchdi, mcmpeqdi): Delete.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/sh/sh.c
    trunk/gcc/config/sh/sh.md
    trunk/gcc/config/sh/sh.opt

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