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

Method f64_from_x32_s

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

Source from the content-addressed store, hash-verified

3316 }
3317
3318 fn f64_from_x32_s(&mut self, dst: FReg, src: XReg) -> ControlFlow<Done> {
3319 let a = self.state[src].get_i32();
3320 self.state[dst].set_f64(a as f64);
3321 ControlFlow::Continue(())
3322 }
3323
3324 fn f64_from_x32_u(&mut self, dst: FReg, src: XReg) -> ControlFlow<Done> {
3325 let a = self.state[src].get_u32();

Callers

nothing calls this directly

Calls 2

set_f64Method · 0.80
get_i32Method · 0.45

Tested by

no test coverage detected