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

Method xmax64_s

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

Source from the content-addressed store, hash-verified

2426 }
2427
2428 fn xmax64_s(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
2429 let a = self.state[operands.src1].get_i64();
2430 let b = self.state[operands.src2].get_i64();
2431 self.state[operands.dst].set_i64(a.max(b));
2432 ControlFlow::Continue(())
2433 }
2434
2435 fn xctz32(&mut self, dst: XReg, src: XReg) -> ControlFlow<Done> {
2436 let a = self.state[src].get_u32();

Callers

nothing calls this directly

Calls 3

set_i64Method · 0.80
get_i64Method · 0.45
maxMethod · 0.45

Tested by

no test coverage detected