[−][src]Function safe_arch::convert_to_f64_from_m256d_s
#[must_use]pub fn convert_to_f64_from_m256d_s(a: m256d) -> f64
This is supported with target feature
avx
only.Convert the lowest f64
lane to a single f64
.
let a = m256d::from([4.0, 5.0, 6.0, 7.0]); let b = convert_to_f64_from_m256d_s(a); assert_eq!(b, 4.0);
- Intrinsic:
_mm256_cvtsd_f64
- Assembly:
vmovsd m64, xmm