Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Compiler switches for AMD?

Author: Dann Corbit

Date: 18:44:49 01/04/02

Go up one level in this thread


On January 04, 2002 at 21:26:40, Aaron Gordon wrote:

>Pretty much to get the best speed increase you need to do profiling. Install
>MSVC with the IntelC 5 compiler... use these switch's..
>
>"/G6 -O3 -Qipo -Qunroll -QxiK -Qprof_genx -Qprof_dir c:\opt"
>
>Compile, run your program.. after it generates the profiling information
>recompile w/ that same string except replace -Qprof_genx with -Qprof_use
>
>You'll need to tinker with various settings, sometimes -QxK is faster, sometimes
>-QxiM, etc.. it's all in the documentation..

I'm fond of QaxW for the Intel compiler, because it will still run on non Athlon
machines, and gets a dandy boost on the Athlon chip.

I don't think he has a copy of the Intel compiler.

-Qunroll is the default.

-Qwp_ipo is nice sometimes.  Experimentation can bring a few percent here and
there.

Beware of Qpc32 -- I have seen real problems generated from this on chess
engines.

This is what I have been using lately as a starting set:
/Gr /Zp16 /ML /W4 /Gi /Ob2 /YX /FD /O3 /QaxW /Qwp_ipo /Qipo_S /G7 /Gs /Qip /GA
/GF /c



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.