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

Method xsub64_u32

pulley/src/interp.rs:1779–1783  ·  view source on GitHub ↗
(&mut self, dst: XReg, src1: XReg, src2: u32)

Source from the content-addressed store, hash-verified

1777 }
1778
1779 fn xsub64_u32(&mut self, dst: XReg, src1: XReg, src2: u32) -> ControlFlow<Done> {
1780 let a = self.state[src1].get_u64();
1781 self.state[dst].set_u64(a.wrapping_sub(src2.into()));
1782 ControlFlow::Continue(())
1783 }
1784
1785 fn xmul32(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
1786 let a = self.state[operands.src1].get_u32();

Callers 1

xsub64_u8Method · 0.80

Calls 2

get_u64Method · 0.45
set_u64Method · 0.45

Tested by

no test coverage detected