_mm512_mask_expm1_ph
Classification
SVML, Elementary Math Functions, CPUID Test: AVX512_FP16
Header File
Synopsis
_mm512_mask_expm1_ph(__m512h src, __mmask32 k, __m512h a);
Description
Compute the exponential value of "e" raised to the power of packed half-precision (16-bit) floating-point elements in "a", subtract one from each element, and store the results in "dst" using writemask "k" (elements are copied from "src" when the corresponding mask bit is not set).
Operation
FOR j := 0 to 31
i := j*16
IF k[j]
dst[i+15:i] := POW(FP16(e), a[i+15:i]) - 1.0
ELSE
dst[i+15:i] := src[i+15:i]
FI
ENDFOR
dst[MAX:512] := 0