[−][src]Function safe_arch::convert_to_i32_m128i_from_m128d
#[must_use]pub fn convert_to_i32_m128i_from_m128d(a: m128d) -> m128i
This is supported with target feature
sse2
only.Rounds the two f64
lanes to the low two i32
lanes.
let a = m128d::from_array([1.0, 2.5]); let b = convert_to_i32_m128i_from_m128d(a); let c: [i32; 4] = b.into(); assert_eq!(c, [1, 2, 0, 0]);
- Intrinsic:
_mm_cvtpd_epi32
- Assembly:
cvtpd2dq xmm, xmm