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

Method bitcast_float_from_int_64

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

Source from the content-addressed store, hash-verified

3198 }
3199
3200 fn bitcast_float_from_int_64(&mut self, dst: FReg, src: XReg) -> ControlFlow<Done> {
3201 let val = self.state[src].get_u64();
3202 self.state[dst].set_f64(f64::from_bits(val));
3203 ControlFlow::Continue(())
3204 }
3205
3206 fn feq32(&mut self, dst: XReg, src1: FReg, src2: FReg) -> ControlFlow<Done> {
3207 let a = self.state[src1].get_f32();

Callers

nothing calls this directly

Calls 2

set_f64Method · 0.80
get_u64Method · 0.45

Tested by

no test coverage detected