Intel® C++ Compiler 16.0 User and Reference Guide
Adds int32 vectors with carry. The corresponding instruction is VPADCD. This intrinsic only applies to Intel® Many Integrated Core Architecture (Intel® MIC Architecture).
Without Mask extern _m512i __cdecl _mm512_adc_epi32(_m512i v2, __mmask16 k2, _m512i v3, __mmask16* k2_res); |
With Mask extern _m512i __cdecl _mm512_mask_adc_epi32(_m512i v2, __mmask16 k1, __mmask16 k2, _m512i v3, __mmask16* k2_res); |
v2 |
int32 vector used for the addition operation |
v3 |
int32 vector also used for addition operation |
k1 |
Writemask; only those elements of the source vectors with corresponding bit set to '1' in the k1 mask are computed and stored in the result; elements in the result vector corresponding to zero bit in k1 are copied from corresponding elements of vector v1_old |
k2 |
source vector used for addition operation |
k2_res |
vector mask register where the carry over value is stored |
Performs an element-by-element three-input addition between int32 vector v2, int32 vector v3, and the corresponding bit in vector mask register k2. The carry from the sum is returned in k2_res.
The masked variant has one additional argument: k1. Only those elements in source registers with the corresponding bit set in vector mask k1 are used for computing. Elements in v2 with corresponding bit clear in k1 are copied as is to the resulting vector.
Returns the result of the addition operation. Carry over value of the sum is returned via the k2_res pointer.