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

# [−][src]Function core::arch::mips64::__msa_sat_u_h

    pub unsafe fn __msa_sat_u_h(a: v8u16, imm4: i32) -> v8u16

🔬 This is a nightly-only experimental API. (`stdsimd` #48556)
This is supported on MIPS-64 and target feature `msa` only.

Immediate Unsigned Saturate

Unsigned elements in vector `a` (eight unsigned 16-bit integer numbers) are saturated to unsigned values of `imm4+1` bits without changing the data width. The result is stored in the vector (eight unsigned 16-bit integer numbers).