Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: fast bit counting

Author: Tony Werten

Date: 05:42:12 04/19/00

Go up one level in this thread


On April 19, 2000 at 08:23:48, Steve Maughan wrote:

>Tony,
>
>>( I'm a delphi man, and delphi doesn't support inline )
>
>Oh yes it does! Here's my BSF function
>
>function BSF(i : Longword) : Integer; register; overload;
>asm
>  BSF   EAX,EAX
>  JZ    @InputIsZero
>  RET
>  @InputIsZero:
>  MOV   EAX,-1
>end;

Eh, I know this is inline assembly. But this doesn't mean that this function
gets inlined, or does it?

Tony



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.