Function safe_arch::convert_i32_replace_m128d_s
source · pub fn convert_i32_replace_m128d_s(a: m128d, i: i32) -> m128d
Expand description
Convert i32
to f64
and replace the low lane of the input.
let a = m128d::from_array([1.0, 2.0]);
let b = convert_i32_replace_m128d_s(a, 5_i32);
assert_eq!(b.to_array(), [5.0, 2.0]);
- Intrinsic:
_mm_cvtsi32_sd
- Assembly:
cvtsi2sd xmm, r32