[][src]Function safe_arch::set_splat_m128

#[must_use]pub fn set_splat_m128(all: f32) -> m128
This is supported with target feature sse only.

Splats the value to all lanes.

let a = set_splat_m128(1.0).to_array();
let b = m128::from_array([1.0, 1.0, 1.0, 1.0]).to_array();
assert_eq!(a, b);