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

Method xslteq32

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

Source from the content-addressed store, hash-verified

1976 }
1977
1978 fn xslteq32(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
1979 let a = self.state[operands.src1].get_i32();
1980 let b = self.state[operands.src2].get_i32();
1981 self.state[operands.dst].set_u32(u32::from(a <= b));
1982 ControlFlow::Continue(())
1983 }
1984
1985 fn xult32(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
1986 let a = self.state[operands.src1].get_u32();

Callers

nothing calls this directly

Calls 3

fromFunction · 0.85
get_i32Method · 0.45
set_u32Method · 0.45

Tested by

no test coverage detected