Computer Chess Club Archives


Search

Terms

Messages

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

Author: Steven Edwards

Date: 11:36:42 05/09/05

Go up one level in this thread


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%.



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.