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

Method xshr64_s_u6

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

Source from the content-addressed store, hash-verified

1894 }
1895
1896 fn xshr64_s_u6(&mut self, operands: BinaryOperands<XReg, XReg, U6>) -> ControlFlow<Done> {
1897 let a = self.state[operands.src1].get_i64();
1898 let b = u32::from(u8::from(operands.src2));
1899 self.state[operands.dst].set_i64(a.wrapping_shr(b));
1900 ControlFlow::Continue(())
1901 }
1902
1903 fn xneg32(&mut self, dst: XReg, src: XReg) -> ControlFlow<Done> {
1904 let a = self.state[src].get_i32();

Callers

nothing calls this directly

Calls 3

fromFunction · 0.85
set_i64Method · 0.80
get_i64Method · 0.45

Tested by

no test coverage detected