_mm_hadd_ps
Classification
SSE_ALL, Arithmetic, CPUID Test: SSE3
Header File
pmmintrin.h
Instruction
HADDPS xmm, xmm
Synopsis
 _mm_hadd_ps(__m128 a, __m128 b);
Description
Horizontally add adjacent pairs of single-precision (32-bit) floating-point elements in "a" and "b", and pack the 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]