Go to the source code of this file.
◆ __DEFAULT_FN_ATTRS
#define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("popcnt"))) |
◆ __DEFAULT_FN_ATTRS_CONSTEXPR
◆ _mm_popcnt_u32()
Counts the number of bits in the source operand having a value of 1.
This intrinsic corresponds to the POPCNT
instruction.
- Parameters
-
__A | An unsigned 32-bit integer operand. |
- Returns
- A 32-bit integer containing the number of bits with value 1 in the source operand.
Definition at line 33 of file popcntintrin.h.