vpermq

Permute Quadword Integers

VPERMQ ymm1, ymm2/m256, imm8

Shuffles quadwords within 256-bit lanes using immediate.

Details

The Permute Quadword Integers instruction shuffles quadwords within 256-bit lanes using immediate.

Pseudocode Operation

// Shuffles quadwords within 256-bit lanes using immediate

Example

VPERMQ ymm1, ymm2/m256, 3

Encoding

Binary Layout
VEX
+0
66
+3
0F
+4
3A
+5
00
+6
 
Format VEX
Opcode 66 0F 3A 00
Extension AVX2

Operands

  • dest
    256-bit YMM AVX register
  • src1
    256-bit YMM AVX register or Memory operand
  • src2
    8-bit signed immediate