Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: MSVC code gen bug?

Author: Scott Gasch

Date: 16:33:46 01/01/02

Go up one level in this thread


On January 01, 2002 at 10:46:42, Jon Dart wrote:

>I'd add that one possible workaround is to selectively disable global
>optimization. You can do this by setting custom optimization settings for the
>module that is causing this problem, or at a finer-grain level by including:
>
>#pragma optimize("g",off)
>...
>#pragma optimize("g",on)
>
>in your code. If you look in the Arasan source code you will see quite a few of
>these pragmas.
>
>--Jon

Hi Jon,

This is something I've thought of also.  But it seems like you can only use
these pragmas before a function -- not on a few lines in the middle of a
function.  Since this is an intrinsic part of my evaluation routine, I need it
to be fast.

Scott



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.