Function safe_arch::mul_widen_u32_odd_m128i [−][src]
Expand description
Multiplies the odd u32
lanes and gives the widened (u64
) results.
let a = m128i::from([1, 7, u32::MAX, 7]);
let b = m128i::from([5, 7, u32::MAX, 7]);
let c: [u64; 2] = mul_widen_u32_odd_m128i(a, b).into();
assert_eq!(c, [(1 * 5), (u32::MAX as u64 * u32::MAX as u64)]);