[−][src]Function safe_arch::move_high_low_m128
#[must_use]pub fn move_high_low_m128(a: m128, b: m128) -> m128
This is supported with target feature
sse
only.Move the high lanes of b
to the low lanes of a
, other lanes unchanged.
let a = m128::from_array([1.0, 12.0, 3.0, 4.0]); let b = m128::from_array([8.0, 6.0, 7.0, 8.5]); let c = move_high_low_m128(a, b).to_array(); assert_eq!(c, [7.0, 8.5, 3.0, 4.0]);