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

Method xmul32_s32

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

Source from the content-addressed store, hash-verified

1794 }
1795
1796 fn xmul32_s32(&mut self, dst: XReg, src1: XReg, src2: i32) -> ControlFlow<Done> {
1797 let a = self.state[src1].get_i32();
1798 self.state[dst].set_i32(a.wrapping_mul(src2));
1799 ControlFlow::Continue(())
1800 }
1801
1802 fn xmul64(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
1803 let a = self.state[operands.src1].get_u64();

Callers 1

xmul32_s8Method · 0.80

Calls 2

set_i32Method · 0.80
get_i32Method · 0.45

Tested by

no test coverage detected