summaryrefslogtreecommitdiff
path: root/src/instructions
diff options
context:
space:
mode:
authortaitep <taitep@taitep.se>2025-12-21 14:02:20 +0100
committertaitep <taitep@taitep.se>2025-12-21 14:02:20 +0100
commit049334ebdb4b8093a307fd3a182a2ced911f6539 (patch)
treeeb75984774cadde8cacb66f3fb28ea5a0c02ab69 /src/instructions
parentd03863f5a211809db49da118f7e0d754abc65e51 (diff)
Remove a debug print from SLLI
Diffstat (limited to 'src/instructions')
-rw-r--r--src/instructions/rvi.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/instructions/rvi.rs b/src/instructions/rvi.rs
index 2eb48f9..e85934d 100644
--- a/src/instructions/rvi.rs
+++ b/src/instructions/rvi.rs
@@ -68,13 +68,6 @@ pub fn jal(core: &mut Core, instr: Instruction) -> InstructionResult {
pub fn slli(core: &mut Core, instr: Instruction) -> InstructionResult {
core.reg_write(instr.rd(), core.reg_read(instr.rs1()) << instr.imm_shamt());
- eprintln!(
- "slli x{}, x{}, {}",
- instr.rd(),
- instr.rs1(),
- instr.imm_shamt()
- );
-
core.pc = core.pc.wrapping_add(4);
InstructionResult::Normal