CLZ (Windows CE 5.0)
This ARM10 instruction counts the number of binary zero bits before the first binary one bit in a register value. The common _CountLeadingZeros intrinsic supports CLZ.
unsigned cdecl _CountLeadingZeros(longArg1);
Parameters
- Arg1
[in] The value for which the leading zero bits should be determined.
Return Values
Number of binary zero bits.
Remarks
To generate the CLZ instruction for the _CountLeadingZeros intrinsic, use the -QRarch5 or -QRarch5T flag.
If you are compiling on an ARM4 microprocessor, the compiler generates a call to a library name, or to some other sequence of ARM 4 code.
Requirements
Header: Armintr.h.
See Also
Common Intrinsic Function Reference | ARM10 Intrinsic Functions
Send Feedback on this topic to the authors