clang 20.0.0git
|
Go to the source code of this file.
Macros | |
#define | __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("lzcnt"))) |
#define | __lzcnt16(X) __builtin_ia32_lzcnt_u16((unsigned short)(X)) |
Counts the number of leading zero bits in the operand. | |
Functions | |
static __inline__ unsigned int __DEFAULT_FN_ATTRS | __lzcnt32 (unsigned int __X) |
Counts the number of leading zero bits in the operand. | |
static __inline__ unsigned int __DEFAULT_FN_ATTRS | _lzcnt_u32 (unsigned int __X) |
Counts the number of leading zero bits in the operand. | |
#define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("lzcnt"))) |
Definition at line 22 of file lzcntintrin.h.
Counts the number of leading zero bits in the operand.
This intrinsic corresponds to the LZCNT
instruction.
__X | An unsigned 16-bit integer whose leading zeros are to be counted. |
Definition at line 37 of file lzcntintrin.h.
|
static |
Counts the number of leading zero bits in the operand.
This intrinsic corresponds to the LZCNT
instruction.
__X | An unsigned 32-bit integer whose leading zeros are to be counted. |
Definition at line 52 of file lzcntintrin.h.
|
static |
Counts the number of leading zero bits in the operand.
This intrinsic corresponds to the LZCNT
instruction.
__X | An unsigned 32-bit integer whose leading zeros are to be counted. |
Definition at line 68 of file lzcntintrin.h.