[−][src]Function safe_arch::add_i32_m128i
#[must_use]pub fn add_i32_m128i(a: m128i, b: m128i) -> m128i
This is supported with target feature
sse2
only.Lanewise a + b
with lanes as i32
.
let a = m128i::from([1, 2, 3, 4]); let b = m128i::from([5, 6, 7, 8]); let c: [i32; 4] = add_i32_m128i(a, b).into(); assert_eq!(c, [6, 8, 10, 12]);