Function add_horizontal_i16_m128i
pub fn add_horizontal_i16_m128i(a: m128i, b: m128i) -> m128i
Available on crate feature
dep_safe_arch
only.Expand description
Add horizontal pairs of i16
values, pack the outputs as a
then b
.
- Intrinsic:
_mm_hadd_epi16
- Assembly:
phaddw xmm, xmm