Computer Chess Club Archives


Search

Terms

Messages

Subject: Bitscan Updated

Author: Matt Taylor

Date: 00:40:53 02/14/03


AFAIK all suggestions are now incorporated:
ftp://24.73.126.6/lsb.h
ftp://24.73.126.6/lsb.c

Somebody (I no longer remember who) asked me to create a version that does not
use cmovcc so it will run on older chips. I may get around to this, but it is
not high priority. Staying sane is high priority.

Popcount was also requested; this may make its way into that file very soon -- I
just need to copy code from the K7 optimization manual.

All versions (inline C and all 3 asm routines) tested in GCC and VC against a
pure-C routine and seem to work for me.

Once again, suggestions are always welcome. Bug reports are even more welcome.

Happy bit fiddling!

-Matt



This page took 0.02 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.