Author: Gerd Isenberg
Date: 13:14:16 07/16/03
Go up one level in this thread
I tried Vincent's test with some loop unrolling - very strange.
hmm... >>= 1 and += 2 is a bit too much, sorry for confusion ;-)
Gerd
>
>int DoNrng(BITBOARD n) {
> BITBOARD i,i1,i2,dummyres,nents;
> int t1,t2;
>
> nents = nentries; /* hopefully this gets into a register */
> dummyres = globaldummy;
>
// n >>= 1; this if course too much !!!!
> t1 = GetClock();
> for (i=0; i < n; i += 2) {
> i1 = RanrotA()%nents;
> dummyres ^= i1;
> i2 = RanrotA()%nents;
> dummyres ^= i2;
> }
> t2 = GetClock();
> globaldummy = dummyres;
> return(t2-t1);
>}
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.