This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/19672] [3.4/4.0/4.1 Regression] Performance regression in simple loop code
- From: "bonzini at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Oct 2005 11:41:31 -0000
- Subject: [Bug target/19672] [3.4/4.0/4.1 Regression] Performance regression in simple loop code
- References: <bug-19672-8689@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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