Function safe_arch::load_replace_low_m128d
source · pub fn load_replace_low_m128d(a: m128d, b: &f64) -> m128d
Expand description
Loads the reference into a register, replacing the low lane.
let a = m128d::from([1.0, 2.0]);
let double = 7.0;
let b = load_replace_low_m128d(a, &double);
assert_eq!(b.to_array(), [7.0, 2.0]);