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

Method xmul32

pulley/src/interp.rs:1785–1790  ·  view source on GitHub ↗
(&mut self, operands: BinaryOperands<XReg>)

Source from the content-addressed store, hash-verified

1783 }
1784
1785 fn xmul32(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
1786 let a = self.state[operands.src1].get_u32();
1787 let b = self.state[operands.src2].get_u32();
1788 self.state[operands.dst].set_u32(a.wrapping_mul(b));
1789 ControlFlow::Continue(())
1790 }
1791
1792 fn xmul32_s8(&mut self, dst: XReg, src1: XReg, src2: i8) -> ControlFlow<Done> {
1793 self.xmul32_s32(dst, src1, src2.into())

Callers

nothing calls this directly

Calls 2

get_u32Method · 0.45
set_u32Method · 0.45

Tested by

no test coverage detected