Function core::arch::x86::_mm_cvtsi32_ss

1.27.0 · source ·
pub unsafe fn _mm_cvtsi32_ss(a: __m128, b: i32) -> __m128
Available on (x86 or x86-64) and target feature sse and x86 only.
Expand description

Converts a 32 bit integer to a 32 bit float. The result vector is the input vector a with the lowest 32 bit float replaced by the converted integer.

This intrinsic corresponds to the CVTSI2SS instruction (with 32 bit input).

Intel’s documentation

This documentation is an old archive. Please see https://rust.docs.kernel.org instead.