core::arch::x86

Function _mm256_hadd_epi16

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

Horizontally adds adjacent pairs of 16-bit integers in a and b.

Intel’s documentation