Author: martin fierz
Date: 05:57:08 10/24/03
Go up one level in this thread
On October 23, 2003 at 20:34:46, Pham Hong Nguyen wrote: >On October 23, 2003 at 15:47:08, Russell Reagan wrote: > >>On October 23, 2003 at 14:46:43, Matthew McKnight wrote: >> >>>I am using global optimizations and the compiler is msvc++ 6.0 >> >>You might be interested to know that the latest gcc is often faster than VC6. >>Remember, VC6 is like 5 years old. VC6 is also not the most standards compliant >>either. I would either get a new compiler or just use gcc if you can't shell out >>the money right now, because with gcc you are going to get something pretty >>close to VC6 usually (especially in programs that are primarily integer >>operations, which most chess programs are) and gcc is much more compliant with >>the standard. I recently compiled TSCP in both VC6 and gcc (cygwin), and gcc >>produced an executable about 2% faster. > >Russell, that is so interesting. However, I don't believe much about TSCP's >results because this program is quite small and simple, comparing with so-so >chess engines. Some results of TSCP differ from ones of others. For example, >TSCP can run faster on some Intel CPU than equivalent AMD. Thus, do you have >comparations between compilers for other engines, say Crafty? i compared GCC 3.2 and MS visual studio.net (2002 edition) once on my checkers program and also on TSCP. MSVC is faster than GCC 3.2 by something like 10%. i tried many different settings for GCC, but the end result was always the same - slower than MSVC. more or less everybody else seems to be reporting similar results here. i also used to compare VC6 with the intel C compiler. the interesting thing is that if you just use the intel compiler set to maximize speed, it is usually not as fast as MSVC. many people have reported this here too. you need to use intel's "profile guided optimizations" and "intra-procedural optimizations". with IPO + PGO, the intel compiler is faster then MSVC. cheers martin
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.