Function core::arch::mips::__msa_sat_s_h

source ·
pub unsafe fn __msa_sat_s_h(a: v8i16, const IMM4: i32) -> v8i16
🔬This is a nightly-only experimental API. (stdsimd #48556)
Available on (MIPS or MIPS-64) and target feature msa and MIPS only.
Expand description

Immediate Signed Saturate

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