Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: About compiler optimizations

Author: Vincent Diepeveen

Date: 06:43:54 12/19/02

Go up one level in this thread


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.





This page took 0.02 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.