_mm512_mask_log_ph
Classification
SVML, Elementary Math Functions, CPUID Test: AVX512_FP16
Header File
Synopsis
_mm512_mask_log_ph(__m512h src, __mmask32 k, __m512h a);
Description
Compute the natural logarithm of packed half-precision (16-bit) floating-point elements in "a", 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] := LOG(a[i+15:i])
ELSE
dst[i+15:i] := src[i+15:i]
FI
ENDFOR
dst[MAX:512] := 0