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

Method xmax64_u

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

Source from the content-addressed store, hash-verified

2419 }
2420
2421 fn xmax64_u(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
2422 let a = self.state[operands.src1].get_u64();
2423 let b = self.state[operands.src2].get_u64();
2424 self.state[operands.dst].set_u64(a.max(b));
2425 ControlFlow::Continue(())
2426 }
2427
2428 fn xmax64_s(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
2429 let a = self.state[operands.src1].get_i64();

Callers

nothing calls this directly

Calls 3

get_u64Method · 0.45
set_u64Method · 0.45
maxMethod · 0.45

Tested by

no test coverage detected