Function safe_arch::convert_to_i64_m256i_from_u32_m128i
source ยท pub fn convert_to_i64_m256i_from_u32_m128i(a: m128i) -> m256i
Available with target feature
avx2
only.Expand description
Convert u32
values to i64
values.
let a = m128i::from([5_u32; 4]);
let b: [i64; 4] = convert_to_i64_m256i_from_u32_m128i(a).into();
assert_eq!(b, [5_i64; 4]);
- Intrinsic:
_mm256_cvtepu32_epi64
- Assembly:
vpmovzxdq ymm, xmm