Function safe_arch::set_m128

source ·
pub fn set_m128(three: f32, two: f32, one: f32, zero: f32) -> m128
Available with target feature sse only.
Expand description

Sets the args into an m128, first arg is the high lane.

let a = set_m128(1.0, 2.0, 3.0, 4.0).to_array();
let b = m128::from_array([4.0, 3.0, 2.0, 1.0]).to_array();
assert_eq!(a, b);