Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: About compiler optimizations

Author: Robert Hyatt

Date: 08:43:22 12/19/02

Go up one level in this thread


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.



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