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

Method flteq32

pulley/src/interp.rs:3227–3232  ·  view source on GitHub ↗
(&mut self, dst: XReg, src1: FReg, src2: FReg)

Source from the content-addressed store, hash-verified

3225 }
3226
3227 fn flteq32(&mut self, dst: XReg, src1: FReg, src2: FReg) -> ControlFlow<Done> {
3228 let a = self.state[src1].get_f32();
3229 let b = self.state[src2].get_f32();
3230 self.state[dst].set_u32(u32::from(a <= b));
3231 ControlFlow::Continue(())
3232 }
3233
3234 fn feq64(&mut self, dst: XReg, src1: FReg, src2: FReg) -> ControlFlow<Done> {
3235 let a = self.state[src1].get_f64();

Callers

nothing calls this directly

Calls 3

fromFunction · 0.85
get_f32Method · 0.45
set_u32Method · 0.45

Tested by

no test coverage detected