core::arch::x86

Function _mm_hadd_ps

1.27.0 · source
pub unsafe fn _mm_hadd_ps(a: __m128, b: __m128) -> __m128
Available on (x86 or x86-64) and target feature sse3 and x86 only.
Expand description

Horizontally adds adjacent pairs of single-precision (32-bit) floating-point elements in a and b, and pack the results.

Intel’s documentation