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

Method vneg8x16

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

Source from the content-addressed store, hash-verified

5121
5122 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
5123 fn vneg8x16(&mut self, dst: VReg, src: VReg) -> ControlFlow<Done> {
5124 let a = self.state[src].get_i8x16();
5125 self.state[dst].set_i8x16(a.map(|i| i.wrapping_neg()));
5126 ControlFlow::Continue(())
5127 }
5128
5129 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
5130 fn vneg16x8(&mut self, dst: VReg, src: VReg) -> ControlFlow<Done> {

Callers

nothing calls this directly

Calls 4

get_i8x16Method · 0.80
set_i8x16Method · 0.80
wrapping_negMethod · 0.80
mapMethod · 0.45

Tested by

no test coverage detected