# [−][src]Function core::arch::x86::_mm_hadds_pi16

    pub unsafe fn _mm_hadds_pi16(a: __m64, b: __m64) -> __m64

🔬 This is a nightly-only experimental API. (`stdsimd` #48556)
This is supported on x86 and target feature `ssse3,mmx` only.

Horizontally adds the adjacent pairs of values contained in 2 packed 64-bit vectors of `[4 x i16]`. Positive sums greater than 7FFFh are saturated to 7FFFh. Negative sums less than 8000h are saturated to 8000h.