[−][src]Function safe_arch::zero_extend_m128
#[must_use]pub fn zero_extend_m128(a: m128) -> m256
This is supported with target feature
avx
only.Zero extend an m128
to m256
let a = zero_extend_m128(m128::from_array([1.0, 2.0, 3.0, 4.0])).to_array(); assert_eq!(a, [1.0, 2.0, 3.0, 4.0, 0.0, 0.0, 0.0, 0.0]);