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