_mm512_cvtx_roundps_ph
Classification
AVX-512, Convert, CPUID Test: AVX512_FP16
Header File
immintrin.h
Instruction
VCVTPS2PHX ymm, zmm {er}
Synopsis
 _mm512_cvtx_roundps_ph(__m512 a, int rounding);
Description
Convert packed single-precision (32-bit) floating-point elements in "a" to packed half-precision (16-bit) floating-point elements, and store the results in "dst". [round_note]
Operation
FOR j := 0 to 15
	dst.fp16[j] := Convert_FP32_To_FP16(a.fp32[j])
ENDFOR
dst[MAX:256] := 0