Function safe_arch::convert_to_m128d_from_lower2_m128
source · pub fn convert_to_m128d_from_lower2_m128(a: m128) -> m128d
Expand description
Rounds the two f64
lanes to the low two f32
lanes.
let a = m128::from_array([1.0, 2.5, 3.6, 4.7]);
let b = convert_to_m128d_from_lower2_m128(a);
assert_eq!(b.to_bits(), [1_f64.to_bits(), 2.5_f64.to_bits()]);
- Intrinsic:
_mm_cvtps_pd
- Assembly:
cvtps2pd xmm, xmm