Skip to main content

IAR Embedded Workbench for Arm 9.70.x

__CLZ

In this section:
Syntax
unsigned int__CLZ(unsigned int);
Description

Inserts a CLZ instruction. If the CLZ instruction is not available, a separate sequence of instructions is inserted to achieve the same result.

Note

This intrinsic function cannot be used in 64-bit mode.

See also

The Arm C Language Extensions (ACLE) intrinsic functions __clz, __clzl, and __clzll.

Note

To use intrinsic functions in an application, you must include the header file(s) where they are declared, see Summary of intrinsic functions.