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

Class Slli

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

Source from the content-addressed store, hash-verified

163// Shift immediates
164#[derive(Debug, Clone, PartialEq, Eq)]
165pub struct Slli {
166 pub rd: Reg,
167 pub rs1: Reg,
168 pub shamt: u8, // 0..63
169}
170impl Slli {
171 pub fn new(rd: Reg, rs1: Reg, shamt: u8) -> Self {
172 assert!(

Callers 4

expand_liFunction · 0.85
shift_instFunction · 0.85
expand_liFunction · 0.85
emit_slliMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected