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

Method sext32

pulley/src/interp.rs:2139–2143  ·  view source on GitHub ↗
(&mut self, dst: XReg, src: XReg)

Source from the content-addressed store, hash-verified

2137 }
2138
2139 fn sext32(&mut self, dst: XReg, src: XReg) -> ControlFlow<Done> {
2140 let src = self.state[src].get_i64() as i32;
2141 self.state[dst].set_i64(src.into());
2142 ControlFlow::Continue(())
2143 }
2144
2145 fn xdiv32_s(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
2146 let a = self.state[operands.src1].get_i32();

Callers

nothing calls this directly

Calls 2

set_i64Method · 0.80
get_i64Method · 0.45

Tested by

no test coverage detected