_mm512_mask_div_epi32
Classification
SVML, Arithmetic, CPUID Test: AVX512F
Header File
Synopsis
_mm512_mask_div_epi32(__m512i src, __mmask16 k, __m512i a, __m512i b);
Description
Divide packed signed 32-bit integers in "a" by packed elements in "b", and store the truncated results in "dst" using writemask "k" (elements are copied from "src" when the corresponding mask bit is not set).
Operation
FOR j := 0 to 15
i := 32*j
IF k[j]
IF b[i+31:i] == 0
#DE
FI
dst[i+31:i] := Truncate32(a[i+31:i] / b[i+31:i])
ELSE
dst[i+31:i] := src[i+31:i]
FI
ENDFOR
dst[MAX:512] := 0