Function safe_arch::load_f32_splat_m128
source · pub fn load_f32_splat_m128(a: &f32) -> m128
Expand description
Loads the f32
reference into all lanes of a register.
let a = 1.0;
let b = load_f32_splat_m128(&a);
assert_eq!(m128::from_array([1.0, 1.0, 1.0, 1.0]).to_bits(), b.to_bits());