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