Function safe_arch::min_i16_m128i
source · pub fn min_i16_m128i(a: m128i, b: m128i) -> m128i
Expand description
Lanewise min(a, b)
with lanes as i16
.
let a = m128i::from([1_i16, 2, 3, 4, -1, -2, -3, -4]);
let b = m128i::from([5_i16, 6, 7, 8, -15, -26, -37, 48]);
let c: [i16; 8] = min_i16_m128i(a, b).into();
assert_eq!(c, [1_i16, 2, 3, 4, -15, -26, -37, -4]);