Author: José Carlos
Date: 14:06:37 12/10/02
Go up one level in this thread
On December 10, 2002 at 15:23:07, Gerd Isenberg wrote:
>What about this one, to guide the compiler in the correct direction?
>
> if (pPos->u64TorresN)
> {
> UINT64 u64Pieza = pPos->u64PeonesN;
> UINT64 u64Vacias = BB_TABLEROLLENO;
>
> u64Pieza |= (u64Pieza >> 8) & u64Vacias;
> u64Vacias &= (u64Vacias >> 8);
> u64Pieza |= (u64Pieza >> 16) & u64Vacias;
> u64Vacias &= (u64Vacias >> 16);
> u64Pieza = (u64Pieza | ((u64Pieza >> 32) & u64Vacias)) >> 8;
> ...
> }
Same problem :(
I'll try other compilers. But I'll do it later. For now, I must live without
speed... Maybe I'll try your MMX version some time in the future, but I hate
having in my program something I don't understand.
Thanks again for your interest.
José C.
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.