vpopcntq

Packed Population Count Quadword

VPOPCNTQ zmm1 {k1}, zmm2/m512

Counts set bits in each quadword element.

Details

The Packed Population Count Quadword instruction counts set bits in each quadword element.

Pseudocode Operation

// Counts set bits in each quadword element

Example

VPOPCNTQ zmm1, zmm2/m512

Encoding

Binary Layout
EVEX
+0
66
+4
0F
+5
38
+6
55
+7
 
Format EVEX
Opcode 66 0F 38 55
Extension AVX-512-VPOPCNTDQ

Operands

  • dest
    512-bit ZMM AVX-512 register
  • src
    512-bit ZMM AVX-512 register or Memory operand