pub unsafe fn _mm_mask_test_epi16_mask(
    k: __mmask8,
    a: __m128i,
    b: __m128i
) -> __mmask8
🔬This is a nightly-only experimental API. (stdsimd #48556)
Available on (x86 or x86-64) and target feature avx512bw,avx512vl and x86-64 only.
Expand description

计算 a 和 b 中包装的 16 位整数的按位与,生成中间的 16 位值,如果中间值不为零,则在结果掩码 k 中设置相应的位 (以写掩码 k 为准)。

Intel’s documentation