Skip to main content

__msa_sat_s_w

Function __msa_sat_s_w 

Source
pub unsafe fn __msa_sat_s_w(a: v4i32, const IMM5: i32) -> v4i32
🔬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 Signed Saturate

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