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

Function srl

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

Source from the content-addressed store, hash-verified

66}
67#[inline]
68pub fn srl(a: u64, b: u64) -> u64 {
69 a >> (b & 63)
70}
71#[inline]
72pub fn sra(a: u64, b: u64) -> u64 {
73 ((a as i64) >> (b & 63)) as u64

Callers 2

exec_alu_immFunction · 0.85
exec_aluFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected