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

Method f32_from_x64_s

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

Source from the content-addressed store, hash-verified

3304 }
3305
3306 fn f32_from_x64_s(&mut self, dst: FReg, src: XReg) -> ControlFlow<Done> {
3307 let a = self.state[src].get_i64();
3308 self.state[dst].set_f32(a as f32);
3309 ControlFlow::Continue(())
3310 }
3311
3312 fn f32_from_x64_u(&mut self, dst: FReg, src: XReg) -> ControlFlow<Done> {
3313 let a = self.state[src].get_u64();

Callers

nothing calls this directly

Calls 2

set_f32Method · 0.80
get_i64Method · 0.45

Tested by

no test coverage detected