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

Method xshr32_u

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

Source from the content-addressed store, hash-verified

1824 }
1825
1826 fn xshr32_u(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
1827 let a = self.state[operands.src1].get_u32();
1828 let b = self.state[operands.src2].get_u32();
1829 self.state[operands.dst].set_u32(a.wrapping_shr(b));
1830 ControlFlow::Continue(())
1831 }
1832
1833 fn xshr32_s(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
1834 let a = self.state[operands.src1].get_i32();

Callers

nothing calls this directly

Calls 2

get_u32Method · 0.45
set_u32Method · 0.45

Tested by

no test coverage detected