Author: Roberto Waldteufel
Date: 18:52:42 12/05/98
Go up one level in this thread
That's not quite true, but it is a very common misconception. It is true for older machines, but these instructions take 1 or 2 clocks only on a PI or a PPro. A loop is faster on a Pplain or a PMMX or a 486. It makes optimization a nightmare though if you want to write for all processors though. I guess you could have two versions of all the bitboard operations, and get the program to test the CPU to decide which version to call. Personally I just use the bit scan instructions and hope nobody runs it on ancient boxes. Best wishes, Roberto
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.