core::arch::x86_64

Function _mm_hadd_epi16

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

Horizontally adds the adjacent pairs of values contained in 2 packed 128-bit vectors of [8 x i16].

Intel’s documentation