[PATCH, RA]: Fix PR 39914: 96% performance regression in FP code with -O1
Uros Bizjak
ubizjak@gmail.com
Tue Apr 28 10:43:00 GMT 2009
Hello!
The fix for PR debug/39432 introduced big runtime regression for -O1
compiled code. IMO, such a performance hit is not acceptable with -O1,
we want to _optimize_ the code with -O. We have -O0 to achieve full
debug functionality.
Attached patch reportedly fixes this regression.
2009-04-28 Uros Bizjak <ubizjak@gmail.com>
* ira-conflicts.c (ira_build_conflicts): Prohibit call used
registers for allocnos created from user-defined variables only
when not optimizing.
Patch was tested on x86_64-pc-linux-gnu. OK for mainline and 4.4.1 ?
Uros.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: p.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090428/a58617a9/attachment.txt>
More information about the Gcc-patches
mailing list