[Bug target/37364] [4.4 Regression] IRA generates inefficient code due to missing regmove pass

Joey dot ye at intel dot com gcc-bugzilla@gcc.gnu.org
Fri Oct 24 08:37:00 GMT 2008



------- Comment #18 from Joey dot ye at intel dot com  2008-10-24 08:36 -------
Created an attachment (id=16536)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16536&action=view)
Reduced performance case from cpu2006/454.calculix

50% regression with IRA core2 on trunk revsion 140514 and 141335

$ gcc -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../src/configure --disable-bootstrap
--enable-languages=c,c++,fortran --enable-checking=assert
Thread model: posix
gcc version 4.4.0 20081024 (experimental) [trunk revision 141335] (GCC) 
$ gcc -m32 -O2 -mssse3 -mfpmath=sse 36.c
$ time -p ./a.out
real 7.97
$ gcc -m32 -O2 -mssse3 -mfpmath=sse -mtune=core2 -o core2.exe 36.c
$ time -p ./core2.exe
real 12.27
$ gcc -m32 -O2 -mssse3 -mfpmath=sse -mtune=core2 -fno-ira -o no-ira.exe 36.c
$ time -p ./no-ira.exe
real 8.03


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37364



More information about the Gcc-bugs mailing list