x86 POPCNT instruction

GPTKB entity

Statements (44)
Predicate Object
gptkbp:instanceOf x86 instruction
gptkbp:affectedFlags gptkb:SF
gptkb:ZF
AF
PF
CF
OF
gptkbp:category Bit manipulation instruction
gptkbp:citation gptkb:Intel_64_and_IA-32_Architectures_Software_Developer’s_Manual
gptkb:AMD64_Architecture_Programmer’s_Manual
gptkbp:compatibleWith older x86 CPUs
gptkbp:CPUIDBit ECX[Bit 23]
gptkbp:digestSize 16-bit
32-bit
64-bit
gptkbp:fullName Population Count
gptkbp:function Counts the number of bits set to 1 in a source operand
https://www.w3.org/2000/01/rdf-schema#label x86 POPCNT instruction
gptkbp:introduced gptkb:Intel
gptkbp:introducedIn gptkb:SSE4.2
2008
gptkbp:opcode F3 0F B8 /r
gptkbp:operandType memory
register
gptkbp:output register
gptkbp:relatedIndex gptkb:BTS
gptkb:BSF
BMI1
BMI2
LZCNT
TZCNT
gptkbp:requiresCPUIDFlag POPCNT
gptkbp:setsResultTo number of set bits in source operand
gptkbp:supportedBy AMD Barcelona and later
Intel Nehalem and later
gptkbp:usedIn cryptography
data compression
error correction
bioinformatics
graphics
bit manipulation
population count algorithms
gptkbp:bfsParent gptkb:Bitcount
gptkbp:bfsLayer 7