_mm_popcnt_u32
Classification
Other, Bit Manipulation, CPUID Test: POPCNT
Header File
Instruction
POPCNT r32, r32
Synopsis
_mm_popcnt_u32(unsigned int a);
Description
Count the number of bits set to 1 in unsigned 32-bit integer "a", and return that count in "dst".
Operation
dst := 0
FOR i := 0 to 31
IF a[i]
dst := dst + 1
FI
ENDFOR