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

Method xneg32

pulley/src/interp.rs:1903–1907  ·  view source on GitHub ↗
(&mut self, dst: XReg, src: XReg)

Source from the content-addressed store, hash-verified

1901 }
1902
1903 fn xneg32(&mut self, dst: XReg, src: XReg) -> ControlFlow<Done> {
1904 let a = self.state[src].get_i32();
1905 self.state[dst].set_i32(a.wrapping_neg());
1906 ControlFlow::Continue(())
1907 }
1908
1909 fn xneg64(&mut self, dst: XReg, src: XReg) -> ControlFlow<Done> {
1910 let a = self.state[src].get_i64();

Callers

nothing calls this directly

Calls 3

set_i32Method · 0.80
wrapping_negMethod · 0.80
get_i32Method · 0.45

Tested by

no test coverage detected