Skip to main content

## _mm256_alignr_epi8

# Function _mm256_alignr_epi8

1.27.0 (const: unstable) · Source

    pub fn _mm256_alignr_epi8(a: __m256i, b: __m256i, const IMM8: i32) -> __m256i

Available on x86-64 and target feature `avx2` only.
Expand description

Concatenates pairs of 16-byte blocks in `a` and `b` into a 32-byte temporary result, shifts the result right by `n` bytes, and returns the low 16 bytes.

Intel’s documentation