Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Crafty and assembly code

Author: Robert Hyatt

Date: 07:11:52 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


With luck you might get 10% speed improvement, and that is an upper bound.  It
will probably be less.

On the opteron, for example, it is less than 5% faster with the 64 bit asm
code...



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.