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

Method xadd64_u32

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

Source from the content-addressed store, hash-verified

1727 }
1728
1729 fn xadd64_u32(&mut self, dst: XReg, src1: XReg, src2: u32) -> ControlFlow<Done> {
1730 let a = self.state[src1].get_u64();
1731 self.state[dst].set_u64(a.wrapping_add(src2.into()));
1732 ControlFlow::Continue(())
1733 }
1734
1735 fn xmadd32(&mut self, dst: XReg, src1: XReg, src2: XReg, src3: XReg) -> ControlFlow<Done> {
1736 let a = self.state[src1].get_u32();

Callers 1

xadd64_u8Method · 0.80

Calls 2

get_u64Method · 0.45
set_u64Method · 0.45

Tested by

no test coverage detected