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

Method xadd32_u32

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

Source from the content-addressed store, hash-verified

1710 }
1711
1712 fn xadd32_u32(&mut self, dst: XReg, src1: XReg, src2: u32) -> ControlFlow<Done> {
1713 let a = self.state[src1].get_u32();
1714 self.state[dst].set_u32(a.wrapping_add(src2));
1715 ControlFlow::Continue(())
1716 }
1717
1718 fn xadd64(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
1719 let a = self.state[operands.src1].get_u64();

Callers 1

xadd32_u8Method · 0.80

Calls 2

get_u32Method · 0.45
set_u32Method · 0.45

Tested by

no test coverage detected