_mm512_addsetc_epi32
Classification
KNC, Arithmetic, CPUID Test: KNCNI
Header File
Instruction
VPADDSETCD zmm, k, zmm
Synopsis
_mm512_addsetc_epi32(__m512i v2, __m512i v3, __mmask16 * k2_res);
Description
Performs element-by-element addition of packed 32-bit integer elements in "v2" and "v3", storing the resultant carry in "k2_res" (carry flag) and the addition results in "dst".
Operation
FOR j := 0 to 15
i := j*32
dst[i+31:i] := v2[i+31:i] + v3[i+31:i]
k2_res[j] := Carry(v2[i+31:i] + v3[i+31:i])
ENDFOR
dst[MAX:512] := 0