Re: Count Leading Zeros (cntlzw)
- From: Torjei Kvinen <torjei@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 29 Aug 2005 19:17:23 +0200
Kostas wrote:
How should it be best implemented in order to be best optimised?
function cntlzw(const v: Longword): Longword;
asm
MOV EDX, 00000020h
BSF EAX, EAX
CMOVZ EAX, EDX
end;
-- Regards Torjei Kvinen .
- Follow-Ups:
- Re: Count Leading Zeros (cntlzw)
- From: Lars
- Re: Count Leading Zeros (cntlzw)
- References:
- Count Leading Zeros (cntlzw)
- From: Kostas
- Count Leading Zeros (cntlzw)
- Prev by Date: Fastcode PosIEx B&V 0.4
- Next by Date: Re: Count Leading Zeros (cntlzw)
- Previous by thread: Re: Count Leading Zeros (cntlzw)
- Next by thread: Re: Count Leading Zeros (cntlzw)
- Index(es):