From db6af47aa90f9ebfa4603d1b52326600c4cad960 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Tue, 11 Jan 2011 19:02:20 -0800 Subject: [PATCH] [sim] fix jalr bug --- riscv/insns/jalr_c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/riscv/insns/jalr_c.h b/riscv/insns/jalr_c.h index d835b87..ab8ed45 100644 --- a/riscv/insns/jalr_c.h +++ b/riscv/insns/jalr_c.h @@ -1,3 +1,3 @@ -uint32_t temp = npc + SIMM; +reg_t temp = npc + SIMM; npc = RS1; RD = temp; -- 2.30.2