Author: Gerd Isenberg
Date: 11:16:06 09/29/05
Go up one level in this thread
Dezhi, can you please post some x86-64 assembly of this routine?
Thanks,
Gerd
typedef unsigned __int64 BitBoard;
BitBoard notA = 0xfefefefefefefefe;
BitBoard rightUpAttacks(BitBoard deo, BitBoard pro) {
pro = pro & notA;
deo |= pro & (deo << 9);
pro = pro & (pro << 9);
deo |= pro & (deo << 18);
pro = pro & (pro << 18);
deo |= pro & (deo << 36);
return (deo << 9) & notA;
}
This page took 0.01 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.