devela::_dep::safe_arch

Function load_f64_splat_m128d

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

Loads the f64 reference into all lanes of a register.

let a = 1.0;
let b = load_f64_splat_m128d(&a);
assert_eq!(m128d::from_array([1.0, 1.0]).to_bits(), b.to_bits());