Skip to main content

## _mm256_mask_test_epi8_mask

# Function _mm256_mask_test_epi8_mask

1.89.0 (const: unstable) · Source

    pub fn _mm256_mask_test_epi8_mask(
        k: __mmask32,
        a: __m256i,
        b: __m256i,
    ) -> __mmask32

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

Compute the bitwise AND of packed 8-bit integers in a and b, producing intermediate 8-bit values, and set the corresponding bit in result mask k (subject to writemask k) if the intermediate value is non-zero.

Intel’s documentation