This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/53967] GCC produces slow code for convolution algorithm with -mfpmath=sse (the AMD_64 default)
- From: "bfriesen at simple dot dallas.tx.us" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 19 Jul 2012 14:29:10 +0000
- Subject: [Bug target/53967] GCC produces slow code for convolution algorithm with -mfpmath=sse (the AMD_64 default)
- Auto-submitted: auto-generated
- References: <bug-53967-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53967
--- Comment #16 from bfriesen at simple dot dallas.tx.us 2012-07-19 14:29:10 UTC ---
Is there a way that I can selectively apply the -frename-registers fix to
functions which benefit from it in order to work around the bug until the fix
is widely available? I tried
#pragma GCC optimize ("O3,rename-registers")
and
#pragma GCC optimize ("rename-registers")
as well as the function attribute equivalent and there was no effect. GCC
seems to ignore the request.
I did find another somewhat similar function which benefited significantly from
-frename-registers.