_mm512_max_round_ph
Classification
AVX-512, Special Math Functions, CPUID Test: AVX512_FP16
Header File
Instruction
VMAXPH zmm, zmm, zmm {sae}
Synopsis
_mm512_max_round_ph(__m512h a, __m512h b, int sae);
Description
Compare packed half-precision (16-bit) floating-point elements in "a" and "b", and store packed maximum values in "dst". [sae_note][max_float_note]
Operation
FOR j := 0 to 31
dst.fp16[j] := (a.fp16[j] > b.fp16[j] ? a.fp16[j] : b.fp16[j])
ENDFOR
dst[MAX:512] := 0