_mm256_adds_epu16
Classification
AVX_ALL, Arithmetic, CPUID Test: AVX2
Header File
Instruction
VPADDUSW ymm, ymm, ymm
Synopsis
_mm256_adds_epu16(__m256i a, __m256i b);
Description
Add packed unsigned 16-bit integers in "a" and "b" using saturation, and store the results in "dst".
Operation
FOR j := 0 to 15
i := j*16
dst[i+15:i] := SaturateU16( a[i+15:i] + b[i+15:i] )
ENDFOR
dst[MAX:256] := 0