From f38114dbd7a897a8048bf27446c75f12b994249f Mon Sep 17 00:00:00 2001 From: taitep Date: Tue, 23 Dec 2025 11:01:28 +0100 Subject: [PATCH] Remove some debug messages i forgot --- src/instructions/rvi.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/instructions/rvi.rs b/src/instructions/rvi.rs index c5ddaaa..7ca9acc 100644 --- a/src/instructions/rvi.rs +++ b/src/instructions/rvi.rs @@ -93,19 +93,12 @@ pub fn auipc(core: &mut Core, instr: Instruction) -> InstructionResult { pub fn jal(core: &mut Core, instr: Instruction) -> InstructionResult { core.reg_write(instr.rd(), core.pc.wrapping_add(4)); - eprintln!("set x{} to {:x}", instr.rd(), core.pc.wrapping_add(4)); core.pc = core.pc.wrapping_add(instr.imm_j()); InstructionResult::Normal } pub fn jalr(core: &mut Core, instr: Instruction) -> InstructionResult { core.reg_write(instr.rd(), core.pc.wrapping_add(4)); - eprintln!( - "origin: {:x}, reg: x{}={:x}", - core.pc, - instr.rs1(), - core.reg_read(instr.rs1()) - ); core.pc = core.reg_read(instr.rs1()).wrapping_add(instr.imm_i()); InstructionResult::Normal }