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

Method bitcast_int_from_float_32

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

Source from the content-addressed store, hash-verified

3180 }
3181
3182 fn bitcast_int_from_float_32(&mut self, dst: XReg, src: FReg) -> ControlFlow<Done> {
3183 let val = self.state[src].get_f32();
3184 self.state[dst].set_u32(val.to_bits());
3185 ControlFlow::Continue(())
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();

Callers

nothing calls this directly

Calls 3

get_f32Method · 0.45
set_u32Method · 0.45
to_bitsMethod · 0.45

Tested by

no test coverage detected