palignr

Packed Align Right

PALIGNR xmm1, xmm2/m128, imm8

Concatenates dest and src, extracts 128 bits byte-aligned.

Details

The Packed Align Right instruction concatenates dest and src, extracts 128 bits byte-aligned.

Pseudocode Operation

// Concatenates dest and src, extracts 128 bits byte-aligned

Example

PALIGNR xmm1, xmm2/m128, 3

Encoding

Binary Layout
66
+0
0F
+1
3A
+2
0F
+3
 
Format SSSE3
Opcode 66 0F 3A 0F
Extension SSSE3

Operands

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