_mm512_maskz_cvtpbh_ps
Classification
AVX-512, Convert, CPUID Test: AVX512_BF16
Header File
Synopsis
_mm512_maskz_cvtpbh_ps(__mmask16 k, __m256bh a);
Description
Convert packed BF16 (16-bit) floating-point elements in "a" to packed single-precision (32-bit) floating-point elements, and store the results in "dst" using zeromask "k" (elements are zeroed out when the corresponding mask bit is not set). This intrinsic neither raises any floating point exceptions nor turns sNAN into qNAN.
Operation
FOR j := 0 to 15
i := j*32
m := j*16
IF k[j]
dst[i+31:i] := Convert_BF16_To_FP32(a[m+15:m])
ELSE
dst[i+31:i] := 0
FI
ENDFOR
dst[MAX:512] := 0