_mm_alignr_epi8
Classification
SSE_ALL, Miscellaneous, CPUID Test: SSSE3
Header File
Instruction
PALIGNR xmm, xmm, imm8
Synopsis
_mm_alignr_epi8(__m128i a, __m128i b, int imm8);
Description
Concatenate 16-byte blocks in "a" and "b" into a 32-byte temporary result, shift the result right by "imm8" bytes, and store the low 16 bytes in "dst".
Operation
tmp[255:0] := ((a[127:0] << 128)[255:0] OR b[127:0]) >> (imm8*8)
dst[127:0] := tmp[127:0]