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