Author: Dann Corbit
Date: 02:29:50 04/14/04
Go up one level in this thread
On April 14, 2004 at 05:26:19, Dann Corbit wrote: >On April 14, 2004 at 04:54:35, Christophe Drieu wrote: > >>Hi, i recently tested 3 C compiler with my chess engine (Trex). I tested Visual >>C++.net 2002 , Intel C++ 8.0 and gcc 3.3.1 (mingw). gcc with -O3 option give me >>the fastest code. I tried profiling with Intel C++ but with no good result. >>Visual C has good option to optimize code but gcc it's always the best. So, is >>gcc the best compiler or am i a bad compiler user ? Visual C and Intel are not >>cheap software ! >> >>If my memory is good, Christophe Theron work with gcc but use Visual C++ for >>commercial version of Tiger. Why ? > >For me, Mingw GCC or Cygwin GCC are usually 1/3 slower or worse than that. > >For the intel compiler, you will get the best results with PGO. Something along the lines of: /G7 /GA /Gs /O3 /QaxiMKW /Qip /Qipo_S /Qwp_ipo /Zm500 /Qprof_use after the same thing with /Qprof_genx and several profile runs. >For the MS VC++ compiler, try these settings: >/Ox /Og /Ob2 /Oi /Ot /Oy /GT /GL /G6 /GA /GF /Zp16 /Gy /Gr
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.