I just ran a benchmark test on my machine and noticed a big difference
 between different versions of gcc. I took gcc 2.95.3, 2.96-80 (current
 cooker version), and gcc3.0 (also from cooker). here are my results:

echo "GCC 2.95    performance:"
GCC 2.95    performance:
./xmm_gcc
ALGORITHM     NB   REPS        TIME      MFLOPS
=========  =====  =====  ==========  ==========

atlasmm       60   1000       0.300     1440.00

echo "GCC 2.96-80 performance:"
GCC 2.96-80 performance:
./xmm_ngc
ALGORITHM     NB   REPS        TIME      MFLOPS
=========  =====  =====  ==========  ==========

atlasmm       60   1000       0.590      732.20

echo "GCC 3.0     performance:"
GCC 3.0     performance:
./xmm_gc3
ALGORITHM     NB   REPS        TIME      MFLOPS
=========  =====  =====  ==========  ==========

atlasmm       60   1000       0.590      732.20



It it obvious that gcc 2.95.3 creates code that is twice as fast as the
 latter versions. I ran this test after reading this article:
http://www.cs.utk.edu/~rwhaley/ATLAS/gcc30.html

-Dave

-------------------------------------------------------

-------------------------------------------------------

-------------------------------------------------------

Reply via email to