[−][src]Function safe_arch::load_m128_splat_m256
#[must_use]pub fn load_m128_splat_m256(a: &m128) -> m256
This is supported with target feature
avx
only.Load an m128
and splat it to the lower and upper half of an m256
let a = m128::from_array([0.0, 1.0, 2.0, 3.0]); let b = load_m128_splat_m256(&a).to_array(); assert_eq!(b, [0.0, 1.0, 2.0, 3.0, 0.0, 1.0, 2.0, 3.0]);