Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Crafty and assembly code

Author: Daniel Pineo

Date: 09:12:02 05/08/05

Go up one level in this thread


On May 08, 2005 at 02:40:33, A. Zanchetta wrote:

>Hi,
>
>a few months ago, I ported Crafty (Special Edition) to Pocket PC, but I only
>tried to make it run. Now I would be interested in making it run *faster* ...
>
>I have tried many compilation options and even downloaded the Intel Compiler.
>With Microsoft tools (EVC++ 4.0, Visual Studio 2005 Beta 2), the default options
>are the best...
>And the Intel compiler generates a much slower code.
>
>How much improvement (%) can I get by writing a few assembly routines (i.e.
>those which are written in assembly on the Windows/X86 version) ?
>
>As of today, here are the results I get with CEBoard+Crafty Classic 2004 on my
>Dell Axim X50v:
>BT2450 : 2342 (EVC++4.0), 2350 (VS2005 Beta 2)
>BT2630 : 2387 (VS2005 Beta 2)
>
>Thanks,
>Alain


It looks like your Axim only has 32k + 32k of cache, that's not very much.  Last
I checked, Crafty used lots of lookups that work best in high end machines with
plenty of cache.  It might not fit very well into 32+32.  If it doesn't fit then
your performance will plummet.  Bob can probably tell you how much Crafty needs,
or maybe he has some compile flags to change lookups into runtime calculations.

- Dan Pineo



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.