_mm_hadd_epi32
Classification
SSE_ALL, Arithmetic, CPUID Test: SSSE3
Header File
Instruction
PHADDD xmm, xmm
Synopsis
_mm_hadd_epi32(__m128i a, __m128i b);
Description
Horizontally add adjacent pairs of 32-bit integers in "a" and "b", and pack the signed 32-bit results in "dst".
Operation
dst[31:0] := a[63:32] + a[31:0]
dst[63:32] := a[127:96] + a[95:64]
dst[95:64] := b[63:32] + b[31:0]
dst[127:96] := b[127:96] + b[95:64]