# Function _mm256_cmp_epi16_mask

1.89.0 · Source

    pub fn _mm256_cmp_epi16_mask(
        a: __m256i,
        b: __m256i,
        const IMM8: i32,
    ) -> __mmask16

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