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

Method bitcast_int_from_float_64

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

Source from the content-addressed store, hash-verified

3186 }
3187
3188 fn bitcast_int_from_float_64(&mut self, dst: XReg, src: FReg) -> ControlFlow<Done> {
3189 let val = self.state[src].get_f64();
3190 self.state[dst].set_u64(val.to_bits());
3191 ControlFlow::Continue(())
3192 }
3193
3194 fn bitcast_float_from_int_32(&mut self, dst: FReg, src: XReg) -> ControlFlow<Done> {
3195 let val = self.state[src].get_u32();

Callers

nothing calls this directly

Calls 3

get_f64Method · 0.45
set_u64Method · 0.45
to_bitsMethod · 0.45

Tested by

no test coverage detected