Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: BSR and BSF instructions

Author: Eugene Nalimov

Date: 14:49:04 02/27/00

Go up one level in this thread


IA-64 offers limited help: you can use simple sequence of instructions to find
first/last non-zero byte, but after that you have to index 256-element table. I
believe that on Itanium you can get back your result in ~10 CPU ticks.

Eugene

On February 27, 2000 at 14:53:23, Peter Fendrich wrote:

>On February 27, 2000 at 12:08:40, Eugene Nalimov wrote:
>
>>On February 27, 2000 at 10:31:34, Peter Fendrich wrote:
>>
>>>For you assembler freaks :-)
>>>
>>>Is there a 64 bit version of BSR and BSF instructions?
>>>I'm using inline assembler in MS 6.0
>>>//Peter
>>
>>No. Look at Crafty source, file vcinline.h, for the example how you can use 2
>>32-bit instructions.
>>
>>Eugene
>
>Thanks but I already have my own code for that.
>Does the new 64-bit based processes offer 64-bits
>BSR and BSF instructions?
>//Peter



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.