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

Method fnearest32

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

Source from the content-addressed store, hash-verified

3642 }
3643
3644 fn fnearest32(&mut self, dst: FReg, src: FReg) -> ControlFlow<Done> {
3645 let a = self.state[src].get_f32();
3646 self.state[dst].set_f32(a.wasm_nearest());
3647 ControlFlow::Continue(())
3648 }
3649
3650 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
3651 fn vnearest32x4(&mut self, dst: VReg, src: VReg) -> ControlFlow<Done> {

Callers

nothing calls this directly

Calls 3

set_f32Method · 0.80
wasm_nearestMethod · 0.80
get_f32Method · 0.45

Tested by

no test coverage detected