_mm_cvt_roundu32_sh
Classification
AVX-512, Convert, CPUID Test: AVX512_FP16
Header File
immintrin.h
Instruction
VCVTUSI2SH xmm, xmm, r32 {er}
Synopsis
 _mm_cvt_roundu32_sh(__m128h a, unsigned int b, int rounding);
Description
Convert the unsigned 32-bit integer "b" to a half-precision (16-bit) floating-point element, store the result in the lower element of "dst", and copy the upper 7 packed elements from "a" to the upper elements of "dst". [round_note]
Operation
dst.fp16[0] := Convert_Int32_To_FP16(b.fp32[0])
dst[127:16] := a[127:16]
dst[MAX:128] := 0