[−][src]Function safe_arch::set_m256
#[must_use]pub fn set_m256(
e7: f32,
e6: f32,
e5: f32,
e4: f32,
e3: f32,
e2: f32,
e1: f32,
e0: f32
) -> m256
This is supported with target feature
avx
only.Set f32
args into an m256
lane.
let a = set_m256(0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0).to_array(); assert_eq!(a, [7.0, 6.0, 5.0, 4.0, 3.0, 2.0, 1.0, 0.0]);