# 1.27.0[−][src]Function core::arch::x86_64::_mm_cvtss_si32

    pub unsafe fn _mm_cvtss_si32(a: __m128) -> i32

This is supported on x86-64 and target feature `sse` only.

Converts the lowest 32 bit float in the input vector to a 32 bit integer.

The result is rounded according to the current rounding mode. If the result cannot be represented as a 32 bit integer the result will be `0x8000_0000` (`std::i32::MIN`) or an invalid operation floating point exception if unmasked (see `_mm_setcsr`).

This corresponds to the `CVTSS2SI` instruction (with 32 bit output).

Intel's documentation