Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: A data point for PowerPC bitboard program authors

Author: Gerd Isenberg

Date: 00:38:42 05/10/05

Go up one level in this thread


On May 09, 2005 at 14:36:42, Steven Edwards wrote:

>On May 09, 2005 at 10:19:23, Gerd Isenberg wrote:
>>On May 09, 2005 at 07:48:51, Steven Edwards wrote:
>
>>May be a bit pedantic to save a subtract and to shift INT_MIN logical right ;-)
>>
>>  myDwrdVec[0] ^= (unsigned)(1<<31) >> theZC; // >>>
>>instead of
>>  myDwrdVec[0] ^= 1 << (31 - theZC);
>
>I've tried that and the resulting code is sligtly slower by about 1.5%.

Funny - i'm not familar with PPC assembly, probably due to loading a sign
extented constant. Otherwise, i would say some "random" effects ;-)



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.