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

Method vnearest32x4

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

Source from the content-addressed store, hash-verified

3649
3650 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
3651 fn vnearest32x4(&mut self, dst: VReg, src: VReg) -> ControlFlow<Done> {
3652 let mut a = self.state[src].get_f32x4();
3653 for elem in a.iter_mut() {
3654 *elem = elem.wasm_nearest();
3655 }
3656 self.state[dst].set_f32x4(a);
3657 ControlFlow::Continue(())
3658 }
3659
3660 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
3661 fn vnearest64x2(&mut self, dst: VReg, src: VReg) -> ControlFlow<Done> {

Callers

nothing calls this directly

Calls 4

get_f32x4Method · 0.80
wasm_nearestMethod · 0.80
set_f32x4Method · 0.80
iter_mutMethod · 0.45

Tested by

no test coverage detected