Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Bitscanning on the Opteron (more)

Author: Robert Hyatt

Date: 13:23:53 12/05/03

Go up one level in this thread


On December 05, 2003 at 08:52:10, Anthony Cozzie wrote:

>Three questions:
>
>1. What is the performance of the hardware bitscan, that is:
>
>__asm("bsf %0, %1")


Note that is unsafe unless you make certain you never call it with
a bitboard of all zeroes.


>
>2. It would be very interesting to try again with the order of the masks
>changed.  Eugene's version has an easy time of it because of the order (I
>think).
>
>3. Has anyone worked on optimizing popcount/FindMSB for the hammer?
>
>anthony



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.