Function safe_arch::add_horizontal_i16_m128i
source · pub fn add_horizontal_i16_m128i(a: m128i, b: m128i) -> m128i
Available with target feature
ssse3
only.Expand description
Add horizontal pairs of i16
values, pack the outputs as a
then b
.
- Intrinsic:
_mm_hadd_epi16
- Assembly:
phaddw xmm, xmm