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

Method vtrunc32x4

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

Source from the content-addressed store, hash-verified

3569
3570 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
3571 fn vtrunc32x4(&mut self, dst: VReg, src: VReg) -> ControlFlow<Done> {
3572 let mut a = self.state[src].get_f32x4();
3573 for elem in a.iter_mut() {
3574 *elem = elem.wasm_trunc();
3575 }
3576 self.state[dst].set_f32x4(a);
3577 ControlFlow::Continue(())
3578 }
3579
3580 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
3581 fn vtrunc64x2(&mut self, dst: VReg, src: VReg) -> ControlFlow<Done> {

Callers

nothing calls this directly

Calls 4

get_f32x4Method · 0.80
wasm_truncMethod · 0.80
set_f32x4Method · 0.80
iter_mutMethod · 0.45

Tested by

no test coverage detected