[][src]Function safe_arch::duplicate_even_lanes_m128

#[must_use]pub fn duplicate_even_lanes_m128(a: m128) -> m128
This is supported with target feature sse3 only.

Duplicate the odd lanes to the even lanes.

let a = m128::from_array([0.0, 1.0, 2.0, 3.0]);
let b = duplicate_even_lanes_m128(a);
assert_eq!(b.to_array(), [0.0, 0.0, 2.0, 2.0]);