re-introduces last_branch register

This commit is contained in:
2023-05-14 17:00:37 +02:00
parent 32848ec396
commit 95ba5c901a
2 changed files with 4 additions and 1 deletions

View File

@@ -34,6 +34,7 @@ def getRegisterSizes(){
def regs = registers.collect{it.size}
regs[-1]=64 // correct for NEXT_PC
//regs+=[32, 32, 64, 64, 64, 32] // append TRAP_STATE, PENDING_TRAP, ICOUNT, CYCLE, INSTRET, INSTRUCTION
regs += [32] // append LAST_BRANCH
return regs
}
%>