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

Method xshl32

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

Source from the content-addressed store, hash-verified

1817 }
1818
1819 fn xshl32(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
1820 let a = self.state[operands.src1].get_u32();
1821 let b = self.state[operands.src2].get_u32();
1822 self.state[operands.dst].set_u32(a.wrapping_shl(b));
1823 ControlFlow::Continue(())
1824 }
1825
1826 fn xshr32_u(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
1827 let a = self.state[operands.src1].get_u32();

Callers

nothing calls this directly

Calls 2

get_u32Method · 0.45
set_u32Method · 0.45

Tested by

no test coverage detected