vprotw

Vector Packed Rotate Word

VPROTW xmm1, xmm2/m128, imm8

Rotates words in XMM register.

Details

The Vector Packed Rotate Word instruction rotates words in XMM register.

Pseudocode Operation

// Rotates words in XMM register

Example

VPROTW xmm1, xmm2/m128, 3

Encoding

Binary Layout
VEX
+0
opcode
+3
ModRM
+4
 
Format XOP
Opcode 8F ... 91
Extension XOP

Operands

  • dest
    128-bit XMM SIMD register
  • src1
    128-bit XMM SIMD register or Memory operand
  • src2
    8-bit signed immediate