Remove a debug print from SLLI
This commit is contained in:
@@ -68,13 +68,6 @@ pub fn jal(core: &mut Core, instr: Instruction) -> InstructionResult {
|
|||||||
pub fn slli(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());
|
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);
|
core.pc = core.pc.wrapping_add(4);
|
||||||
|
|
||||||
InstructionResult::Normal
|
InstructionResult::Normal
|
||||||
|
|||||||
Reference in New Issue
Block a user