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

Method vsqrt32x4

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

Source from the content-addressed store, hash-verified

3675
3676 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
3677 fn vsqrt32x4(&mut self, dst: VReg, src: VReg) -> ControlFlow<Done> {
3678 let mut a = self.state[src].get_f32x4();
3679 for elem in a.iter_mut() {
3680 *elem = elem.wasm_sqrt();
3681 }
3682 self.state[dst].set_f32x4(a);
3683 ControlFlow::Continue(())
3684 }
3685
3686 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
3687 fn vsqrt64x2(&mut self, dst: VReg, src: VReg) -> ControlFlow<Done> {

Callers

nothing calls this directly

Calls 4

get_f32x4Method · 0.80
wasm_sqrtMethod · 0.80
set_f32x4Method · 0.80
iter_mutMethod · 0.45

Tested by

no test coverage detected