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

Method ftrunc32

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

Source from the content-addressed store, hash-verified

3562 }
3563
3564 fn ftrunc32(&mut self, dst: FReg, src: FReg) -> ControlFlow<Done> {
3565 let a = self.state[src].get_f32();
3566 self.state[dst].set_f32(a.wasm_trunc());
3567 ControlFlow::Continue(())
3568 }
3569
3570 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
3571 fn vtrunc32x4(&mut self, dst: VReg, src: VReg) -> ControlFlow<Done> {

Callers

nothing calls this directly

Calls 3

set_f32Method · 0.80
wasm_truncMethod · 0.80
get_f32Method · 0.45

Tested by

no test coverage detected