[−][src]Function safe_arch::convert_to_u64_m128i_from_lower2_u32_m128i
#[must_use]pub fn convert_to_u64_m128i_from_lower2_u32_m128i(a: m128i) -> m128i
This is supported with target feature
sse4.1
only.Convert the lower two u32
lanes to two u64
lanes.
let a = m128i::from([u32::MAX, 1, 2, 3]); let c: [u64; 2] = convert_to_u64_m128i_from_lower2_u32_m128i(a).into(); assert_eq!(c, [u32::MAX as u64, 1]);
- Intrinsic:
_mm_cvtepu32_epi64
- Assembly:
pmovzxdq xmm, xmm