[−][src]Function safe_arch::convert_to_m256d_from_m128
#[must_use]pub fn convert_to_m256d_from_m128(a: m128) -> m256d
This is supported with target feature
avx
only.Convert f32
lanes to be f64
lanes.
let a = m128::from([4.0, 5.0, 6.0, 7.0]); let b = convert_to_m256d_from_m128(a).to_array(); assert_eq!(b, [4.0, 5.0, 6.0, 7.0]);
- Intrinsic:
_mm256_cvtps_pd
- Assembly:
vcvtps2pd ymm, xmm