Author: Gian-Carlo Pascutto
Date: 14:21:09 06/25/02
Go up one level in this thread
On June 25, 2002 at 17:09:42, Dieter Buerssner wrote: >An intelligent compiler could produce better code with something like > >if (WhitePawns & (1ULL << E6)) > >1 32-bit load, >1 32-bit and, branch based on the flags. > >Of course, this optimization cannot work anymore, when E6 is "sq". The load and and are 64-bit operations in the example above. But, you could do it with 32-bits via the trick you described earlier. (We already know what half of the board we are interested in) -- GCP
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.