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

Method ftrunc64

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

Source from the content-addressed store, hash-verified

3758 }
3759
3760 fn ftrunc64(&mut self, dst: FReg, src: FReg) -> ControlFlow<Done> {
3761 let a = self.state[src].get_f64();
3762 self.state[dst].set_f64(a.wasm_trunc());
3763 ControlFlow::Continue(())
3764 }
3765
3766 fn ffloor64(&mut self, dst: FReg, src: FReg) -> ControlFlow<Done> {
3767 let a = self.state[src].get_f64();

Callers

nothing calls this directly

Calls 3

set_f64Method · 0.80
wasm_truncMethod · 0.80
get_f64Method · 0.45

Tested by

no test coverage detected