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/25128] [m68k] Suboptimal comparisons against 65536


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

--- Comment #3 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Mon Nov 21 18:19:12 2016
New Revision: 242676

URL: https://gcc.gnu.org/viewcvs?rev=242676&root=gcc&view=rev
Log:
        PR target/25128
        * config/m68k/predicates.md (swap_peephole_relational_operator): New
        predicate.
        * config/m68k/m68k.md (relational tests against 65535/65536): New
        peephole2.

        PR target/25128
        * gcc.target/m68k/pr25128.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/m68k/pr25128.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/m68k/m68k.md
    trunk/gcc/config/m68k/predicates.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]