This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/36884] ifcvt poor optimization
- From: "gjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 5 Jul 2011 13:23:47 +0000
- Subject: [Bug rtl-optimization/36884] ifcvt poor optimization
- Auto-submitted: auto-generated
- References: <bug-36884-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36884
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.7.0
--- Comment #5 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-07-05 13:22:53 UTC ---
I had a look in ifcvt.c.
Obviously, noce_try_sign_mask does it's work unconditionally and does not take
into account costs. It appears that it assumes that cheap barrel shifter is
available as on most 32-bit machines.