_mm_cvtt_roundsh_i32 in core::arch::x86 - Rust
Description: Convert the lower half-precision (16-bit) floating-point element in a to a 32-bit integer with truncation, and store the result in dst.

Skip to main content

## _mm_cvtt_roundsh_i32

# Function _mm_cvtt_roundsh_i32

1.94.0 · Source

    pub fn _mm_cvtt_roundsh_i32(a: __m128h, const SAE: i32) -> i32

Available on x86 and target feature `avx512fp16` only.
Expand description

Convert the lower half-precision (16-bit) floating-point element in a to a 32-bit integer with truncation, and store the result in dst.

Exceptions can be suppressed by passing `_MM_FROUND_NO_EXC` in the `sae` parameter.

Intel’s documentation