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

Method xshl64_u6

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

Source from the content-addressed store, hash-verified

1880 }
1881
1882 fn xshl64_u6(&mut self, operands: BinaryOperands<XReg, XReg, U6>) -> ControlFlow<Done> {
1883 let a = self.state[operands.src1].get_u64();
1884 let b = u32::from(u8::from(operands.src2));
1885 self.state[operands.dst].set_u64(a.wrapping_shl(b));
1886 ControlFlow::Continue(())
1887 }
1888
1889 fn xshr64_u_u6(&mut self, operands: BinaryOperands<XReg, XReg, U6>) -> ControlFlow<Done> {
1890 let a = self.state[operands.src1].get_u64();

Callers

nothing calls this directly

Calls 3

fromFunction · 0.85
get_u64Method · 0.45
set_u64Method · 0.45

Tested by

no test coverage detected