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

    pub unsafe fn _mm256_mask_test_epi16_mask(
        k: __mmask16,
        a: __m256i,
        b: __m256i
    ) -> __mmask16

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

Compute the bitwise AND of packed 16-bit integers in a and b, producing intermediate 16-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