Function _mm512_test_epi16_mask

#[target_feature(enable = "avx512bw")]
pub const fn _mm512_test_epi16_mask(a: __m512i, b: __m512i) -> __mmask32

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 if the intermediate value is non-zero.

Intel's documentation