## _mm512_mask_test_epi16_mask

# Function _mm512_mask_test_epi16_mask

1.89.0 · Source

    pub fn _mm512_mask_test_epi16_mask(
        k: __mmask32,
        a: __m512i,
        b: __m512i,
    ) -> __mmask32

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

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