_mm512_sincos_ph
Classification
SVML, Trigonometry, CPUID Test: AVX512_FP16
Header File
Synopsis
_mm512_sincos_ph(__m512h* mem_addr, __m512h a);
Description
Compute the sine and cosine of packed half-precision (16-bit) floating-point elements in "a" expressed in radians, store the sine in "dst", and store the cosine into memory at "mem_addr".
Operation
FOR j := 0 to 31
i := j*16
dst[i+15:i] := SIN(a[i+15:i])
MEM[mem_addr+i+15:mem_addr+i] := COS(a[i+15:i])
ENDFOR
dst[MAX:512] := 0
cos_res[MAX:512] := 0