Skip to main content

## _mm_cmp_sh_mask

# Function _mm_cmp_sh_mask

1.94.0 · Source

    pub fn _mm_cmp_sh_mask(a: __m128h, b: __m128h, const IMM5: i32) -> __mmask8

Available on x86-64 and target feature `avx512fp16` only.
Expand description

Compare the lower half-precision (16-bit) floating-point elements in a and b based on the comparison operand specified by imm8, and store the result in mask vector k.

Intel’s documentation