[][src]Function safe_arch::convert_to_m128_from_i32_m128i

#[must_use]pub fn convert_to_m128_from_i32_m128i(a: m128i) -> m128
This is supported with target feature sse2 only.

Rounds the four i32 lanes to four f32 lanes.

let a = m128i::from([1, 2, 3, 4]);
let b = convert_to_m128_from_i32_m128i(a);
let c = m128::from_array([1.0, 2.0, 3.0, 4.0]);
assert_eq!(b.to_bits(), c.to_bits());