[−][src]Function safe_arch::convert_i64_replace_m128d_s
#[must_use]pub fn convert_i64_replace_m128d_s(a: m128d, i: i64) -> m128d
This is supported with target feature
sse2
only.Convert i64
to f64
and replace the low lane of the input.
let a = m128d::from_array([1.0, 2.0]); let b = convert_i64_replace_m128d_s(a, 5_i64); assert_eq!(b.to_array(), [5.0, 2.0]);
- Intrinsic:
_mm_cvtsi64_sd
- Assembly:
cvtsi2sd xmm, r64