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

Method vnearest64x2

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

Source from the content-addressed store, hash-verified

3659
3660 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
3661 fn vnearest64x2(&mut self, dst: VReg, src: VReg) -> ControlFlow<Done> {
3662 let mut a = self.state[src].get_f64x2();
3663 for elem in a.iter_mut() {
3664 *elem = elem.wasm_nearest();
3665 }
3666 self.state[dst].set_f64x2(a);
3667 ControlFlow::Continue(())
3668 }
3669
3670 fn fsqrt32(&mut self, dst: FReg, src: FReg) -> ControlFlow<Done> {
3671 let a = self.state[src].get_f32();

Callers

nothing calls this directly

Calls 4

get_f64x2Method · 0.80
wasm_nearestMethod · 0.80
set_f64x2Method · 0.80
iter_mutMethod · 0.45

Tested by

no test coverage detected