vpshufbitqmb

Shuffle Bits from Quadword Elements to Mask

VPSHUFBITQMB k1 {k2}, zmm2, zmm3/m512

Extracts bits from bytes and packs into a mask register.

Details

The Shuffle Bits from Quadword Elements to Mask instruction extracts bits from bytes and packs into a mask register.

Pseudocode Operation

// Extracts bits from bytes and packs into a mask register

Example

VPSHUFBITQMB k1, zmm2, zmm3/m512

Encoding

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

Operands

  • dest
    k-reg
  • src1
    ZMM
  • src2
    ZMM/Mem