Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Which VC++ compiler options give fast chess engines?

Author: Vincent Vega

Date: 14:24:12 03/12/01

Go up one level in this thread


On March 12, 2001 at 11:54:41, martin fierz wrote:

>On March 12, 2001 at 10:25:55, Leen Ammeraal wrote:
>
>>Working with Visual C++ 6.0, Professional Edition,
>>I wondered if I can get faster code simply by
>>using some compiler settings/options or any
>>other VC++ tool. At the moment, all I do
>>to speed up my chess engine is by using
>>Project | Settings | C/C++
>>and, with Category: General, I select
>>Optimizations: Maximize Speed.
>
>in the same tab Project|Settings|C/C++ you can
>choose the category 'optimizations', and there
>instead of maximize speed, choose the optimizations
>yourself. i don't know what the names are in then
>english version, because i have the german version.
>i have activated every optimization except the
>'compact code'.

Note that if you do that, you have to be careful with "assume no aliasing"
optimization if your program uses pointers or the compiler could produce
incorrect code that corrupts your data.



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.