This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Benchmark of gcc 4.0


I run for my personal pleasure (since I am a number cruncher) the
Scimark2 tests on my P4 Linux machine. I tested GCC 4.0 (today's CVS) vs. GCC 
3.4.1 vs. Intel's ICC 8.1

For GCC, I used in both cases the flags
-march=pentium4 -mfpmath=sse -O3 -fomit-frame-pointer -ffast-math

Should be of some interest, for ICC I used
-ipo -tpp7 -xW -align -Zp16 -O3

The results were surprisingly bad, and this is why I am writing this message:


			    GCC 4.0	GCC 3.4.1 	ICC	
Composite Score:   270.51	345.28		430.47
FFT          Mflops:   192.10	203.77		206.66
SOR         Mflops:    257.61	252.88		258.30
MC           Mflops:      58.61	  67.96 		312.13	
matmult    Mflops:    376.64 	557.75		564.97
LU            Mflops:    467.58 	644.03		810.29

I leave aside any personal comments, except that being involved in Monte Carlo 
calculations, I would love if GCC were not outperformed by a factor of ~ 4.5 
in MC by ICC. 

I also would like to ask whether you see anything wrong with those benchmarks 
and/or you have suggestions to improve them.

Thanks,
Biagio
-- 
=========================================================

Biagio Lucini				      
Institut Fuer Theoretische Physik
ETH Hoenggerberg      
CH-8093 Zuerich - Switzerland           
Tel. +41 (0)1 6332562  
 
=========================================================


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]