Function core::arch::mips::__msa_sat_s_h[][src]

pub unsafe fn __msa_sat_s_h<const IMM4: i32>(a: v8i16) -> v8i16
🔬 This is a nightly-only experimental API. (stdsimd #48556)
This is supported on MIPS and target feature msa 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).