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

Method xmul64

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

Source from the content-addressed store, hash-verified

1800 }
1801
1802 fn xmul64(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
1803 let a = self.state[operands.src1].get_u64();
1804 let b = self.state[operands.src2].get_u64();
1805 self.state[operands.dst].set_u64(a.wrapping_mul(b));
1806 ControlFlow::Continue(())
1807 }
1808
1809 fn xmul64_s8(&mut self, dst: XReg, src1: XReg, src2: i8) -> ControlFlow<Done> {
1810 self.xmul64_s32(dst, src1, src2.into())

Callers

nothing calls this directly

Calls 2

get_u64Method · 0.45
set_u64Method · 0.45

Tested by

no test coverage detected