_mm256_dpwssd_avx_epi32
Classification
AVX_ALL, Arithmetic, CPUID Test: AVX_VNNI
Header File
immintrin.h
Instruction
VPDPWSSD ymm, ymm, ymm
Synopsis
 _mm256_dpwssd_avx_epi32(__m256i src, __m256i a, __m256i b);
Description
Multiply groups of 2 adjacent pairs of signed 16-bit integers in "a" with corresponding 16-bit integers in "b", producing 2 intermediate signed 32-bit results. Sum these 2 results with the corresponding 32-bit integer in "src", and store the packed 32-bit results in "dst".
Operation
FOR j := 0 to 7
	tmp1.dword := SignExtend32(a.word[2*j]) * SignExtend32(b.word[2*j])
	tmp2.dword := SignExtend32(a.word[2*j+1]) * SignExtend32(b.word[2*j+1])
	dst.dword[j] := src.dword[j] + tmp1 + tmp2
ENDFOR
dst[MAX:256] := 0