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

Method xshl32_u6

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

Source from the content-addressed store, hash-verified

1859 }
1860
1861 fn xshl32_u6(&mut self, operands: BinaryOperands<XReg, XReg, U6>) -> ControlFlow<Done> {
1862 let a = self.state[operands.src1].get_u32();
1863 let b = u32::from(u8::from(operands.src2));
1864 self.state[operands.dst].set_u32(a.wrapping_shl(b));
1865 ControlFlow::Continue(())
1866 }
1867
1868 fn xshr32_u_u6(&mut self, operands: BinaryOperands<XReg, XReg, U6>) -> ControlFlow<Done> {
1869 let a = self.state[operands.src1].get_u32();

Callers

nothing calls this directly

Calls 3

fromFunction · 0.85
get_u32Method · 0.45
set_u32Method · 0.45

Tested by

no test coverage detected