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

Function funct7

crates/virtual-machine/src/cpu/decoder.rs:885–887  ·  view source on GitHub ↗
(word: u32)

Source from the content-addressed store, hash-verified

883}
884#[inline]
885fn funct7(word: u32) -> u8 {
886 field(word, 31, 25) as u8
887}
888
889// Sign-extend `val` (a value in the low `bits` bits) to `i64`.
890fn sign_ext(val: u32, bits: u32) -> i64 {

Callers 1

decodeFunction · 0.85

Calls 1

fieldFunction · 0.85

Tested by

no test coverage detected