MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / slt

Function slt

crates/virtual-machine/src/cpu/alu.rs:88–90  ·  view source on GitHub ↗
(a: u64, b: u64)

Source from the content-addressed store, hash-verified

86}
87#[inline]
88pub fn slt(a: u64, b: u64) -> u64 {
89 ((a as i64) < (b as i64)) as u64
90}
91#[inline]
92pub fn sltu(a: u64, b: u64) -> u64 {
93 (a < b) as u64

Callers 2

exec_alu_immFunction · 0.85
exec_aluFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected