Skip to main content

__msa_insert_b

Function __msa_insert_b 

Source
pub unsafe fn __msa_insert_b(a: v16i8, const IMM4: i32, c: i32) -> v16i8
🔬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

GPR Insert Element

Set element imm4 in vector a (sixteen signed 8-bit integer numbers) to GPR c value. All other elements in vector a are unchanged. If the source GPR is wider than the destination data format, the destination’s elements will be set to the least significant bits of the GPR.