Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Fruit compile question

Author: Peter Skinner

Date: 07:21:11 06/24/05

Go up one level in this thread


On June 24, 2005 at 10:11:32, GeoffW wrote:

>Hi
>
>I was just wondering what compiler and optimisation tricks were used for the
>fruit 2.1 release compilation?
>
>A quick benchmark on my PC gives 746,000 nps
>
>My own compilation using the excellent Visual Studio 2005 Express Beta 2 only
>gives me 622,000 nps
>
>A surprisingly huge difference, anyone care to speculate the reasons for the
>above figures ? I suspect I may have a Visual Studio setting wrong somewhere
>
>For the compiler gurus my settings are
>
>/O2 /Ob2 /Oi /Ot /GL /I "D:\Program Files\Microsoft Platform SDK\Include" /D
>"WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /FD /EHsc /MD
>/Fo"Release\\" /Fd"Release\vc80.pdb" /W3 /nologo /c /Wp64 /Zi /Gr /TP /wd4996
>/errorReport:prompt
>
>Thanks for any feedback
>
>       Regards Geoff

I used the following: (I think.. I didn't record the settings)

cl /Gs /GA /GL /GF /GT /Gr /MT /Zi /nologo /arch:SSE /DWIN32 /D_CONSOLE
/DWINDOWS /DFAST fruit.c

Mine came out about 2% slower than the publicly released exe.

I will figure out _exactly_ what I did today and post it here, but I think that
is pretty close. I almost used the same settings I use to compile Crafty.

Peter



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.