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

Method sext8

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

Source from the content-addressed store, hash-verified

2125 }
2126
2127 fn sext8(&mut self, dst: XReg, src: XReg) -> ControlFlow<Done> {
2128 let src = self.state[src].get_i64() as i8;
2129 self.state[dst].set_i64(src.into());
2130 ControlFlow::Continue(())
2131 }
2132
2133 fn sext16(&mut self, dst: XReg, src: XReg) -> ControlFlow<Done> {
2134 let src = self.state[src].get_i64() as i16;

Callers

nothing calls this directly

Calls 2

set_i64Method · 0.80
get_i64Method · 0.45

Tested by

no test coverage detected