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

Method xshr64_s

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

Source from the content-addressed store, hash-verified

1852 }
1853
1854 fn xshr64_s(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
1855 let a = self.state[operands.src1].get_i64();
1856 let b = self.state[operands.src2].get_u32();
1857 self.state[operands.dst].set_i64(a.wrapping_shr(b));
1858 ControlFlow::Continue(())
1859 }
1860
1861 fn xshl32_u6(&mut self, operands: BinaryOperands<XReg, XReg, U6>) -> ControlFlow<Done> {
1862 let a = self.state[operands.src1].get_u32();

Callers

nothing calls this directly

Calls 3

set_i64Method · 0.80
get_i64Method · 0.45
get_u32Method · 0.45

Tested by

no test coverage detected