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

Method xmin32_s

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

Source from the content-addressed store, hash-verified

2384 }
2385
2386 fn xmin32_s(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
2387 let a = self.state[operands.src1].get_i32();
2388 let b = self.state[operands.src2].get_i32();
2389 self.state[operands.dst].set_i32(a.min(b));
2390 ControlFlow::Continue(())
2391 }
2392
2393 fn xmax32_u(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
2394 let a = self.state[operands.src1].get_u32();

Callers

nothing calls this directly

Calls 3

set_i32Method · 0.80
get_i32Method · 0.45
minMethod · 0.45

Tested by

no test coverage detected