_mm512_mask_atan_ph
Classification
SVML, Trigonometry, CPUID Test: AVX512_FP16
Header File
Synopsis
_mm512_mask_atan_ph(__m512h src, __mmask32 k, __m512h a);
Description
Compute the inverse tangent of packed half-precision (16-bit) floating-point elements in "a" expressed in radians, 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] := ATAN(a[i+15:i])
ELSE
dst[i+15:i] := src[i+15:i]
FI
ENDFOR
dst[MAX:512] := 0