Author: Robert Hyatt
Date: 09:31:15 12/19/02
Go up one level in this thread
On December 19, 2002 at 12:00:32, Vincent Diepeveen wrote: >On December 19, 2002 at 11:43:22, Robert Hyatt wrote: > >>On December 19, 2002 at 09:43:54, Vincent Diepeveen wrote: >> >>>On December 19, 2002 at 07:53:32, Frederic Louguet wrote: >>> >>>>My program Chess Wizard has always run much faster on Athlon than on P4, but >>>>maybe using default optimizations is not enough. So I have a question for >>>>compiler gurus : what are the best compiler optimizations you can use under >>>>Microsoft Visual C++ 6.0 with processor pack, running under Windows XP, for >>>>Athlon XP/MP and for Pentium 4. >>>> >>>>Before I try everything myself, maybe someone has made experiments and has >>>>interesting results to share ? >>> >>>Yes. >>> >>>Try mingw with msys. >>>it works under windows. >>> >>>download the latest gcc compiler. >>>then compile a version with profile info. produce profile >>>info. then recompile with that and branches get optimized. >>> >>>should get your chess wizard, assuming it's a non-bitboard (gcc >>>is horrible optimizing 64 bits code for 32 bits processors), a lot >>>faster. >>> >>>It sure works for diep very fast. >> >> >>Also he should try the Intel C/C++ compiler v 7.0 download from Intel's >>web site. It produces faster code for me than any version of gcc that is >>available. > >you have a P4. he has an AMD K7. I bet even old visual c++ 6.0 sp4 procpack >beats the intel 7.0 on that hardware ;) I suppose that is the _big_ difference between us. I prefer to _test_ and produce data that can be used to make a decision. Rather than "guesswork".
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.