Counts the number of leading zero bits in a source operand. Returns operand size as output when source operand is zero. The corresponding Intel® AVX2 instruction is LZCNT
extern unsigned int _lzcnt_u32(unsigned int source); |
extern unsigned __int64 _lzcnt_u64(unsigned __int64 source); |
source |
the source operand used for the operation |
Counts the number of leading most significant zero bits in a source operand returning the result into a destination when source operand is 0.
Result of the operation.
Copyright © 1996-2011, Intel Corporation. All rights reserved.