core::arch::x86_64::_mm_cvttss_si64 - Rust
Description: API documentation for the Rust `_mm_cvttss_si64` fn in crate `core`.
Keywords: rust, rustlang, rust-lang, _mm_cvttss_si64

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

    pub unsafe fn _mm_cvttss_si64(a: __m128) -> i64

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

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

The result is rounded always using truncation (round towards zero). If the result cannot be represented as a 64 bit integer the result will be `0x8000_0000_0000_0000` (`std::i64::MIN`) or an invalid operation floating point exception if unmasked (see `_mm_setcsr`).

This corresponds to the `CVTTSS2SI` instruction (with 64 bit output).

Intel's documentation