Function safe_arch::convert_to_m128d_from_lower2_i32_m128i
source ยท pub fn convert_to_m128d_from_lower2_i32_m128i(a: m128i) -> m128d
Available with target feature
sse2
only.Expand description
Rounds the lower two i32
lanes to two f64
lanes.
let a = m128i::from([1, 2, 3, 4]);
let b = convert_to_m128d_from_lower2_i32_m128i(a);
let c = m128d::from_array([1.0, 2.0]);
assert_eq!(b.to_bits(), c.to_bits());
- Intrinsic:
_mm_cvtepi32_pd
- Assembly:
cvtdq2pd xmm, xmm