# Function _mm512_cmp_ph_mask

Source

    pub fn _mm512_cmp_ph_mask(a: __m512h, b: __m512h, const IMM5: i32) -> __mmask32

🔬This is a nightly-only experimental API. (`stdarch_x86_avx512_f16` #127213)
Available on (x86 or x86-64) and target feature `avx512fp16` and x86 only.
Expand description

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

Intel’s documentation