_mm_comile_sh
Classification
AVX-512, Compare, CPUID Test: AVX512_FP16
Header File
Instruction
VCOMISH xmm, xmm
Synopsis
_mm_comile_sh(__m128h a, __m128h b);
Description
Compare the lower half-precision (16-bit) floating-point elements in "a" and "b" for less-than-or-equal, and return the boolean result (0 or 1).
Operation
RETURN ( a.fp16[0] !=NaN AND b.fp16[0] !=NaN AND a.fp16[0] <= b.fp16[0] ) ? 1 : 0