# Function core::arch::x86::_mm256_mask_gf2p8mul_epi8

source · [−]

    pub unsafe fn _mm256_mask_gf2p8mul_epi8(
        src: __m256i,
        k: __mmask32,
        a: __m256i,
        b: __m256i
    ) -> __m256i

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

Performs a multiplication in GF(2^8) on the packed bytes. The field is in polynomial representation with the reduction polynomial x^8 + x^4 + x^3 + x + 1.

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