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

Method xmax32_u

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

Source from the content-addressed store, hash-verified

2391 }
2392
2393 fn xmax32_u(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
2394 let a = self.state[operands.src1].get_u32();
2395 let b = self.state[operands.src2].get_u32();
2396 self.state[operands.dst].set_u32(a.max(b));
2397 ControlFlow::Continue(())
2398 }
2399
2400 fn xmax32_s(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
2401 let a = self.state[operands.src1].get_i32();

Callers

nothing calls this directly

Calls 3

get_u32Method · 0.45
set_u32Method · 0.45
maxMethod · 0.45

Tested by

no test coverage detected