vpermb

Permute Packed Bytes

VPERMB zmm1 {k1}, zmm2, zmm3/m512

Permutes bytes in ZMM based on index vector.

Details

The Permute Packed Bytes instruction permutes bytes in ZMM based on index vector.

Pseudocode Operation

// Permutes bytes in ZMM based on index vector

Example

VPERMB zmm1, zmm2, zmm3/m512

Encoding

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

Operands

  • dest
    ZMM
  • idx
    ZMM
  • src
    ZMM/Mem