vpshufb
Packed Shuffle Bytes (AVX2)
VPSHUFB ymm1, ymm2, ymm3/m256
Shuffles 32 bytes based on indices.
Details
The Packed Shuffle Bytes (AVX2) instruction shuffles 32 bytes based on indices.
Pseudocode Operation
// Shuffles 32 bytes based on indices
Example
VPSHUFB ymm1, ymm2, ymm3/m256
Encoding
Binary Layout
VEX
+0
opcode
+3
ModRM
+4
Operands
-
dest
256-bit YMM AVX register -
src1
256-bit YMM AVX register -
src2
256-bit YMM AVX register or Memory operand