[Bug target/37364] [4.4 Regression] IRA generates inefficient code due to missing regmove pass
hjl dot tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Oct 28 01:13:00 GMT 2008
------- Comment #22 from hjl dot tools at gmail dot com 2008-10-28 01:12 -------
Created an attachment (id=16571)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16571&action=view)
A patch to re-enable regmove
After applying this patch to re-enable regmove, I got
[hjl@gnu-6 gcc]$ ./xgcc -B./ -O2 -mtune=core2 /tmp/foo.c -o noira -fno-ira -m32
[hjl@gnu-6 gcc]$ ./xgcc -B./ -O2 -mtune=core2 /tmp/foo.c -o ira -m32
[hjl@gnu-6 gcc]$ time ./ira
real 0m7.307s
user 0m7.305s
sys 0m0.001s
[hjl@gnu-6 gcc]$ time ./noira
real 0m7.478s
user 0m7.474s
sys 0m0.002s
[hjl@gnu-6 gcc]$
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37364
More information about the Gcc-bugs
mailing list