arch-riscv: show names of MiscRegs on accesses.
authorNils Asmussen <nils.asmussen@barkhauseninstitut.org>
Thu, 13 Feb 2020 13:15:56 +0000 (14:15 +0100)
committerNils Asmussen <nils.asmussen@barkhauseninstitut.org>
Wed, 29 Apr 2020 11:41:55 +0000 (11:41 +0000)
commit6d3bf34a2a0cf8cd8510bd8b074bed356526531b
tree48412934a901adb8e25b3af677cf44e2060ed355
parentb295e0f3a860349d420e3b6b5e7655a80dc54333
arch-riscv: show names of MiscRegs on accesses.

Printing the number of the MiscRegs makes it hard to debug problems.
Therefore, this commit adds a name table and prints the name of the
register.

Change-Id: Icd53d5524a5d5daf3e50f253cdda56341663f26e
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/25649
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
src/arch/riscv/isa.cc