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

Method vtrunc64x2

pulley/src/interp.rs:3581–3588  ·  view source on GitHub ↗
(&mut self, dst: VReg, src: VReg)

Source from the content-addressed store, hash-verified

3579
3580 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
3581 fn vtrunc64x2(&mut self, dst: VReg, src: VReg) -> ControlFlow<Done> {
3582 let mut a = self.state[src].get_f64x2();
3583 for elem in a.iter_mut() {
3584 *elem = elem.wasm_trunc();
3585 }
3586 self.state[dst].set_f64x2(a);
3587 ControlFlow::Continue(())
3588 }
3589
3590 fn ffloor32(&mut self, dst: FReg, src: FReg) -> ControlFlow<Done> {
3591 let a = self.state[src].get_f32();

Callers

nothing calls this directly

Calls 4

get_f64x2Method · 0.80
wasm_truncMethod · 0.80
set_f64x2Method · 0.80
iter_mutMethod · 0.45

Tested by

no test coverage detected