Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Which compiler options give fastest executable?

Author: Aaron Gordon

Date: 15:18:29 11/19/02

Go up one level in this thread


On November 19, 2002 at 05:43:59, Bernhard Bauer wrote:

>
>Hi,
>I want to get the fastest crafty.exe using
>MS Visual C++ 6.0 for an AMD XP processor.
>Has someone experience with good compiler flags?
>Kind regards
>Bernhard

I've had the best luck with the Intel C 5.0.1 compiler using these options:
-O3 -G6 -QxiK -Qipo -Qip -Qunroll -Qprof_genx

Compile with that and run the binary to generate the optimization information..
exit out of your program normally and it'll save the information into various
.dyn files. Recompile with the same options except change -Qprof_genx to
-Qprof_use and that should generate an extremely fast binary.



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.