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

Method xmax32_s

pulley/src/interp.rs:2400–2405  ·  view source on GitHub ↗
(&mut self, operands: BinaryOperands<XReg>)

Source from the content-addressed store, hash-verified

2398 }
2399
2400 fn xmax32_s(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
2401 let a = self.state[operands.src1].get_i32();
2402 let b = self.state[operands.src2].get_i32();
2403 self.state[operands.dst].set_i32(a.max(b));
2404 ControlFlow::Continue(())
2405 }
2406
2407 fn xmin64_u(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
2408 let a = self.state[operands.src1].get_u64();

Callers

nothing calls this directly

Calls 3

set_i32Method · 0.80
get_i32Method · 0.45
maxMethod · 0.45

Tested by

no test coverage detected