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 tree-optimization/66948] [6 Regression] Performance regression in bit manipulation code


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Jul 21 14:03:57 2015
New Revision: 226041

URL: https://gcc.gnu.org/viewcvs?rev=226041&root=gcc&view=rev
Log:
2015-07-21  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/66948
        * genmatch.c (capture_info::walk_match): Also recurse to
        captures.  Properly compute expr state from captures of
        captures.
        * match.pd: Add single-use guards to
        (X & C2) >> C1 into (X >> C1) & (C2 >> C1) transform.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/genmatch.c
    trunk/gcc/match.pd


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