[][src]Function safe_arch::mul_widen_i32_odd_m128i

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

Multiplies the odd i32 lanes and gives the widened (i64) results.

let a = m128i::from([1, 7, i32::MAX, 7]);
let b = m128i::from([-5, 7, i32::MAX, 7]);
let c: [i64; 2] = mul_widen_i32_odd_m128i(a, b).into();
assert_eq!(c, [(-1 * 5), (i32::MAX as i64 * i32::MAX as i64)]);