Function load_f32_splat_m128
pub fn load_f32_splat_m128(a: &f32) -> m128
Available on crate feature
dep_safe_arch
only.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());