Skip to main content

__msa_sat_u_h

Function __msa_sat_u_h 

Source
pub unsafe fn __msa_sat_u_h(a: v8u16, const IMM4: i32) -> v8u16
🔬This is a nightly-only experimental API. (stdarch_mips #111198)
Available on MIPS-64 and target feature msa and (MIPS or MIPS-64) only.
Expand description

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).