Function safe_arch::convert_to_m256d_from_i32_m128i
source · pub fn convert_to_m256d_from_i32_m128i(a: m128i) -> m256d
Expand description
Convert i32
lanes to be f64
lanes.
let a = m128i::from([4, 5, 6, 7]);
let b = convert_to_m256d_from_i32_m128i(a).to_array();
assert_eq!(b, [4.0, 5.0, 6.0, 7.0]);
- Intrinsic:
_mm256_cvtepi32_pd
- Assembly:
vcvtdq2pd ymm, xmm