Skip to main content

## _mm_cvtsi32_ss

# Function _mm_cvtsi32_ss

1.27.0 (const: unstable) · Source

    pub fn _mm_cvtsi32_ss(a: __m128, b: i32) -> __m128

Available on x86-64 and target feature `sse` 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