Computer Chess Club Archives


Search

Terms

Messages

Subject: TSCP benchmark with gcc vc6 vc.net on Athlon XP and P4

Author: martin fierz

Date: 14:54:12 02/20/03


hi,

after reading a post by sean mintz and the discussion that followed about the
merits of intel/gcc 3.2 C compilers for the TSCP benchmark, i compared gcc 3.2
against the M$ compilers here with these results:

-------------------------------------------
version        XP 2400+    P4 1.4GHz
-------------------------------------------
"original"     2260 MIPS   1587
VC 6           2373        1579
VC.net         2496        1587
gcc for P4     2420        1480
gcc for AMD 1  2523        1451, then crash
gcc for AMD 2  2663        crash
-------------------------------------------

i'm not sure how relevant a benchmark based on TSCP is for "real" chess
programs, but if this is anything to go on, then gcc 3.2 is looking good, better
than the microsoft compiler for the XP. looks like gcc has finally grown up :-)

cheers
  martin

version descriptions:

"original" is the .exe which comes in the download:
http://home.attbi.com/~tckerrigan/bench.html

VC6 is what i compiled with speed optimization with MS visual C 6

VC.net is what i compiled with speed optimization with MS visual C .NET

gcc for P4 is -O3 -march=pentium4 -mfpmath=sse -mmmx -fomit-frame-pointer
-funroll-loops -finline-functions

gcc for AMD 1 is -O3 -march=athlon-xp -mfpmath=sse -mmmx -fomit-frame-pointer
-funroll-loops -finline-functions

gcc for AMD 2 is -O3 -march=athlon-xp -mfpmath=sse -mmmx -fomit-frame-pointer
-funroll-loops -finline-functions -fprefetch-loop-arrays








This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.