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

Method xshr32_s

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

Source from the content-addressed store, hash-verified

1831 }
1832
1833 fn xshr32_s(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
1834 let a = self.state[operands.src1].get_i32();
1835 let b = self.state[operands.src2].get_u32();
1836 self.state[operands.dst].set_i32(a.wrapping_shr(b));
1837 ControlFlow::Continue(())
1838 }
1839
1840 fn xshl64(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
1841 let a = self.state[operands.src1].get_u64();

Callers

nothing calls this directly

Calls 3

set_i32Method · 0.80
get_i32Method · 0.45
get_u32Method · 0.45

Tested by

no test coverage detected