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 rtl-optimization/49095] Horrible code generation for trivial decrement with test


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

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-05-29 18:51:51 UTC ---
Author: jakub
Date: Sun May 29 18:51:48 2011
New Revision: 174413

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174413
Log:
    PR rtl-optimization/49095
    * config/i386/predicates.md (plusminuslogic_operator): New predicate.
    * config/i386/i386.md: Add peepholes for mem {+,-,&,|,^}= x; mem != 0.

    * gcc.target/i386/pr49095.c: New test.

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