_mm_max_ph
Classification
AVX-512, Special Math Functions, CPUID Test: AVX512_FP16
Header File
immintrin.h
Instruction
VMAXPH xmm, xmm, xmm
Synopsis
 _mm_max_ph(__m128h a, __m128h b);
Description
Compare packed half-precision (16-bit) floating-point elements in "a" and "b", and store packed maximum values in "dst". [max_float_note]
Operation
FOR j := 0 to 7
	dst.fp16[j] := (a.fp16[j] > b.fp16[j] ? a.fp16[j] : b.fp16[j])
ENDFOR
dst[MAX:128] := 0