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

Method vinsertx64

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

Source from the content-addressed store, hash-verified

4788
4789 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
4790 fn vinsertx64(
4791 &mut self,
4792 operands: BinaryOperands<VReg, VReg, XReg>,
4793 lane: u8,
4794 ) -> ControlFlow<Done> {
4795 let mut a = self.state[operands.src1].get_u64x2();
4796 let b = self.state[operands.src2].get_u64();
4797 unsafe {
4798 *a.get_unchecked_mut(usize::from(lane)) = b;
4799 }
4800 self.state[operands.dst].set_u64x2(a);
4801 ControlFlow::Continue(())
4802 }
4803
4804 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
4805 fn vinsertf32(

Callers

nothing calls this directly

Calls 4

fromFunction · 0.85
get_u64x2Method · 0.80
set_u64x2Method · 0.80
get_u64Method · 0.45

Tested by

no test coverage detected