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

Method vabs64x2

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

Source from the content-addressed store, hash-verified

5309
5310 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
5311 fn vabs64x2(&mut self, dst: VReg, src: VReg) -> ControlFlow<Done> {
5312 let a = self.state[src].get_i64x2();
5313 self.state[dst].set_i64x2(a.map(|i| i.wrapping_abs()));
5314 ControlFlow::Continue(())
5315 }
5316
5317 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
5318 fn vabsf32x4(&mut self, dst: VReg, src: VReg) -> ControlFlow<Done> {

Callers

nothing calls this directly

Calls 3

get_i64x2Method · 0.80
set_i64x2Method · 0.80
mapMethod · 0.45

Tested by

no test coverage detected