Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Pentium 4 optimized Crafty (& Tbird)

Author: Aaron Gordon

Date: 02:33:06 09/27/01

Go up one level in this thread


On September 27, 2001 at 03:56:44, Frederic Louguet wrote:

>On September 26, 2001 at 16:46:23, Aaron Gordon wrote:
>
>>AMD Athlon(Tbird,Duron, Palomino, etc) Optimized Crafty v18.10 (Has SMP support)
>>ftp://65.10.79.9/pub/crafty/CraftyK7-1810.zip
>>
>>AMD Athlon(Tbird,Duron, Palomino, etc) Optimized Crafty v18.11 (Single CPU)
>>ftp://65.10.79.9/pub/crafty/CraftyK7-1811.zip
>
>Could you please post the compiler options you used to optimize for Athlon ?
>(assuming you use MSVC). I'd like to see if they have an effect on my program.
>Thanks.

I used Msvc6 with SP3, VCPP and Intel C 5.0 compiler. For the tbird (should work
great on P3's, Celeron's, etc) I used...

CFLAGS = -O2 -Qipo -G6 -Qunroll -Qprof_gen -Qprof_dir c:\opt

I forget if I used -QxiM, try it with & without it though and see if it's any
better for your program. An evaluation version of the IntelC 5.0 compiler is
downloadable at http://developer.intel.com if you don't have it. Anyway the
-Qprof_gen option attach's some sort of cpu profiler to the program you're
compiling. When you run it it generates all sorts of profile information to
"c:\opt". Just run the program, benchmark with it, play a couple of games or
whatnot, make a book if your program supports it. Once you've run it a lot exit
out and it will write the information. This is what I used to recompile it..

CFLAGS = -O2 -Qipo -G6 -Qunroll -Qprof_use -Qprof_dir c:\opt

After that it will create the optimized exe...  I'm not a programmer or anything
so I can't explain what the profiling does exactly, only guessing.. but it does
seem to help a LOT.

Let me know if it helps.



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.