# Function core::arch::x86::_mm512_mask_alignr_epi8

source · [−]

    pub unsafe fn _mm512_mask_alignr_epi8(
        src: __m512i,
        k: __mmask64,
        a: __m512i,
        b: __m512i,
        const IMM8: i32
    ) -> __m512i

🔬 This is a nightly-only experimental API. (`stdsimd` #48556)
This is supported on x86 and target feature `avx512bw` only.
Expand description

Concatenate pairs of 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 using writemask k (elements are copied from src when the corresponding mask bit is not set).

Intel’s documentation