MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / vinsertx32

Method vinsertx32

pulley/src/interp.rs:4775–4787  ·  view source on GitHub ↗
(
        &mut self,
        operands: BinaryOperands<VReg, VReg, XReg>,
        lane: u8,
    )

Source from the content-addressed store, hash-verified

4773
4774 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
4775 fn vinsertx32(
4776 &mut self,
4777 operands: BinaryOperands<VReg, VReg, XReg>,
4778 lane: u8,
4779 ) -> ControlFlow<Done> {
4780 let mut a = self.state[operands.src1].get_u32x4();
4781 let b = self.state[operands.src2].get_u32();
4782 unsafe {
4783 *a.get_unchecked_mut(usize::from(lane)) = b;
4784 }
4785 self.state[operands.dst].set_u32x4(a);
4786 ControlFlow::Continue(())
4787 }
4788
4789 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
4790 fn vinsertx64(

Callers

nothing calls this directly

Calls 4

fromFunction · 0.85
get_u32x4Method · 0.80
set_u32x4Method · 0.80
get_u32Method · 0.45

Tested by

no test coverage detected