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

Method sext16

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

Source from the content-addressed store, hash-verified

2131 }
2132
2133 fn sext16(&mut self, dst: XReg, src: XReg) -> ControlFlow<Done> {
2134 let src = self.state[src].get_i64() as i16;
2135 self.state[dst].set_i64(src.into());
2136 ControlFlow::Continue(())
2137 }
2138
2139 fn sext32(&mut self, dst: XReg, src: XReg) -> ControlFlow<Done> {
2140 let src = self.state[src].get_i64() as i32;

Callers

nothing calls this directly

Calls 2

set_i64Method · 0.80
get_i64Method · 0.45

Tested by

no test coverage detected