[][src]Function safe_arch::sub_horizontal_i16_m128i

#[must_use]pub fn sub_horizontal_i16_m128i(a: m128i, b: m128i) -> m128i
This is supported with target feature ssse3 only.

Subtract horizontal pairs of i16 values, pack the outputs as a then b.

let a = m128i::from([1_i16, 29, 3, 64, -18, -23, -73, -14]);
let b = m128i::from([50_i16, 76, 72, 89, -15, -26, -37, 48]);
let c: [i16; 8] = sub_horizontal_i16_m128i(a, b).into();
assert_eq!(c, [-28, -61, 5, -59, -26, -17, 11, -85]);