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

Method xsub32_u32

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

Source from the content-addressed store, hash-verified

1760 }
1761
1762 fn xsub32_u32(&mut self, dst: XReg, src1: XReg, src2: u32) -> ControlFlow<Done> {
1763 let a = self.state[src1].get_u32();
1764 self.state[dst].set_u32(a.wrapping_sub(src2));
1765 ControlFlow::Continue(())
1766 }
1767
1768 fn xsub64(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
1769 let a = self.state[operands.src1].get_u64();

Callers 1

xsub32_u8Method · 0.80

Calls 2

get_u32Method · 0.45
set_u32Method · 0.45

Tested by

no test coverage detected