# [−][src]Function core::arch::mips::__msa_insert_w

    pub unsafe fn __msa_insert_w(a: v4i32, imm2: i32, c: i32) -> v4i32

🔬 This is a nightly-only experimental API. (`stdsimd` #48556)
This is supported on MIPS and target feature `msa` only.

GPR Insert Element

Set element `imm2` in vector `a` (four signed 32-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.