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/19672] [3.4/4.0/4.1 Regression] Performance regression in simple loop code



------- Comment #12 from bonzini at gcc dot gnu dot org  2005-10-18 11:41 -------
Created an attachment (id=10016)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10016&action=view)
patch to fix the bug

Indeed, RTL expansion will use jae (short-circuited evaluation) or seta,
depending on the branch cost, but in a very involuted way which screws up the
tuning.

This patch makes it more direct.


-- 

bonzini at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |bonzini at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


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


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