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

Method xshr32_s_u6

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

Source from the content-addressed store, hash-verified

1873 }
1874
1875 fn xshr32_s_u6(&mut self, operands: BinaryOperands<XReg, XReg, U6>) -> ControlFlow<Done> {
1876 let a = self.state[operands.src1].get_i32();
1877 let b = u32::from(u8::from(operands.src2));
1878 self.state[operands.dst].set_i32(a.wrapping_shr(b));
1879 ControlFlow::Continue(())
1880 }
1881
1882 fn xshl64_u6(&mut self, operands: BinaryOperands<XReg, XReg, U6>) -> ControlFlow<Done> {
1883 let a = self.state[operands.src1].get_u64();

Callers

nothing calls this directly

Calls 3

fromFunction · 0.85
set_i32Method · 0.80
get_i32Method · 0.45

Tested by

no test coverage detected