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

Method xshr64_u

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

Source from the content-addressed store, hash-verified

1845 }
1846
1847 fn xshr64_u(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
1848 let a = self.state[operands.src1].get_u64();
1849 let b = self.state[operands.src2].get_u32();
1850 self.state[operands.dst].set_u64(a.wrapping_shr(b));
1851 ControlFlow::Continue(())
1852 }
1853
1854 fn xshr64_s(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
1855 let a = self.state[operands.src1].get_i64();

Callers

nothing calls this directly

Calls 3

get_u64Method · 0.45
get_u32Method · 0.45
set_u64Method · 0.45

Tested by

no test coverage detected