# Function _mm_cmp_epi16_mask

Source

    pub fn _mm_cmp_epi16_mask(a: __m128i, b: __m128i, const IMM8: i32) -> __mmask8

🔬This is a nightly-only experimental API. (`stdarch_x86_avx512` #111137)
Available on (x86 or x86-64) and target feature `avx512bw,avx512vl` and x86 only.
Expand description

Compare packed signed 16-bit integers in a and b based on the comparison operand specified by imm8, and store the results in mask vector k.

Intel’s documentation