Skip to main content

## _mm256_maskz_gf2p8affine_epi64_epi8

# Function _mm256_maskz_gf2p8affine_epi64_epi8

1.89.0 · Source

    pub fn _mm256_maskz_gf2p8affine_epi64_epi8(
        k: __mmask32,
        x: __m256i,
        a: __m256i,
        const B: i32,
    ) -> __m256i

Available on x86-64 and target feature `gfni` and target feature `avx512bw` and target feature `avx512vl` only.
Expand description

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 zeroed in the result if the corresponding mask bit is not set. Otherwise the computation result is written into the result.

Intel’s documentation