Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Compiler switches for AMD?

Author: Aaron Gordon

Date: 18:26:40 01/04/02

Go up one level in this thread


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..


On January 04, 2002 at 20:01:35, Bas Hamstra wrote:

>I just upgraded from a Celeron 466 to AMD-XP-1600+ for 600 EUR (basically
>everything except monitor). Not bad, so far, gives a factor 4. What compiler
>switches to use for this CPU? With my slow (but very comfortable) Borland BCB
>compiler it doesnt seem to matter much. Turning on or off PPro scheduling, I see
>hardly any difference. What is recommended? Especially for VC?
>
>Greetings, Bas.



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.