_lzcnt_u64
Classification
Other, Bit Manipulation, CPUID Test: LZCNT
Header File
Instruction
LZCNT r64, r64
Synopsis
_lzcnt_u64(unsigned __int64 a);
Description
Count the number of leading zero bits in unsigned 64-bit integer "a", and return that count in "dst".
Operation
tmp := 63
dst := 0
DO WHILE (tmp >= 0 AND a[tmp] == 0)
tmp := tmp - 1
dst := dst + 1
OD