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

Method xmul64_s32

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

Source from the content-addressed store, hash-verified

1811 }
1812
1813 fn xmul64_s32(&mut self, dst: XReg, src1: XReg, src2: i32) -> ControlFlow<Done> {
1814 let a = self.state[src1].get_i64();
1815 self.state[dst].set_i64(a.wrapping_mul(src2.into()));
1816 ControlFlow::Continue(())
1817 }
1818
1819 fn xshl32(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
1820 let a = self.state[operands.src1].get_u32();

Callers 1

xmul64_s8Method · 0.80

Calls 2

set_i64Method · 0.80
get_i64Method · 0.45

Tested by

no test coverage detected