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