pshufhw

Packed Shuffle High Words

PSHUFHW xmm1, xmm2/m128, imm8

Shuffles the high 4 words of XMM.

Details

The Packed Shuffle High Words instruction shuffles the high 4 words of XMM.

Pseudocode Operation

// Shuffles the high 4 words of XMM

Example

PSHUFHW xmm1, xmm2/m128, 3

Encoding

Binary Layout
F3
+0
0F
+1
70
+2
 
Format SSE2
Opcode F3 0F 70
Extension SSE2

Operands

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