# Function core::arch::x86_64::_mm_mask_gf2p8affine_epi64_epi8[−][src]

    pub unsafe fn _mm_mask_gf2p8affine_epi64_epi8(
        src: __m128i,
        k: __mmask16,
        x: __m128i,
        a: __m128i,
        b: i32
    ) -> __m128i

🔬 This is a nightly-only experimental API. (`stdsimd` #48556)
This is supported on x86-64 and target feature `avx512gfni,avx512bw,avx512vl` only.

Performs an affine transformation on the packed bytes in x. That is computes a*x+b over the Galois Field 2^8 for each packed byte with a being a 8x8 bit matrix and b being a constant 8-bit immediate value. Each pack of 8 bytes in x is paired with the 64-bit word at the same position in a.

Uses the writemask in k - elements are copied from src if the corresponding mask bit is not set. Otherwise the computation result is written into the result.

Intel's documentation