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 c/52802] Equality rewrites pessimizes code


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

Mikael Pettersson <mikpe at it dot uu.se> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpe at it dot uu.se

--- Comment #2 from Mikael Pettersson <mikpe at it dot uu.se> 2012-04-02 09:43:03 UTC ---
On x86, mov and jcc don't clobber the flags, so the first cmpl should compare
with 8 not 7, the jbe should be adjusted to jb, and then the second cmpl is
redundant as the flags from the first cmpl are still available.


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