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

Method xshl64

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

Source from the content-addressed store, hash-verified

1838 }
1839
1840 fn xshl64(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
1841 let a = self.state[operands.src1].get_u64();
1842 let b = self.state[operands.src2].get_u32();
1843 self.state[operands.dst].set_u64(a.wrapping_shl(b));
1844 ControlFlow::Continue(())
1845 }
1846
1847 fn xshr64_u(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
1848 let a = self.state[operands.src1].get_u64();

Callers

nothing calls this directly

Calls 3

get_u64Method · 0.45
get_u32Method · 0.45
set_u64Method · 0.45

Tested by

no test coverage detected