devela::_dep::safe_arch

Function load_replace_high_m128d

pub fn load_replace_high_m128d(a: m128d, b: &f64) -> m128d
Available on crate feature dep_safe_arch only.
Expand description

Loads the reference into a register, replacing the high lane.

let a = m128d::from([1.0, 2.0]);
let double = 7.0;
let b = load_replace_high_m128d(a, &double);
assert_eq!(b.to_array(), [1.0, 7.0]);