core::arch::x86

Function _mm512_mask_test_epi16_mask

source
pub unsafe fn _mm512_mask_test_epi16_mask(
    k: __mmask32,
    a: __m512i,
    b: __m512i,
) -> __mmask32
🔬This is a nightly-only experimental API. (stdarch_x86_avx512 #111137)
Available on (x86 or x86-64) and target feature avx512bw and x86 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