_mm_mask_test_epi16_mask in core::arch::x86 - Rust
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.

Skip to main content

## _mm_mask_test_epi16_mask

# Function _mm_mask_test_epi16_mask

1.89.0 (const: unstable) · Source

    pub fn _mm_mask_test_epi16_mask(k: __mmask8, a: __m128i, b: __m128i) -> __mmask8

Available on x86 and target feature `avx512bw` and target feature `avx512vl` 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