Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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]
885
fn 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`.
890
fn sign_ext(val: u32, bits: u32) -> i64 {
Callers
1
decode
Function · 0.85
Calls
1
field
Function · 0.85
Tested by
no test coverage detected