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

Class Srli

crates/asm-to-binary/src/riscv/rv64i.rs:205–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203
204#[derive(Debug, Clone, PartialEq, Eq)]
205pub struct Srli {
206 pub rd: Reg,
207 pub rs1: Reg,
208 pub shamt: u8,
209}
210impl Srli {
211 pub fn new(rd: Reg, rs1: Reg, shamt: u8) -> Self {
212 assert!(

Callers 4

expand_liFunction · 0.85
shift_instFunction · 0.85
expand_liFunction · 0.85
emit_srliMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected