arch-arm: Remove unusued MISCREG_A64_UNIMPL
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 9 May 2018 14:59:38 +0000 (15:59 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 29 May 2018 10:17:32 +0000 (10:17 +0000)
In case the decoder fails to find a suitable MiscReg during a MSR/MRS
in AArch64, MISCREG_UNKNOWN is used, so there is no need for an extra
MISCREG_A64_UNIMPL register.

Change-Id: I7c709fc554e554b39d765dffb7ceb90e33b7c15f
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/10503
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>

src/arch/arm/miscregs.cc
src/arch/arm/miscregs.hh

index 08e37bb700a6f4341fa247243a92759d7f559324..31b3580be8b5e2b038aba5179b086890d33f31ff 100644 (file)
@@ -4007,9 +4007,6 @@ ISA::initializeMiscRegMetadata()
     InitReg(MISCREG_CP15_UNIMPL)
       .unimplemented()
       .warnNotFail();
-    InitReg(MISCREG_A64_UNIMPL)
-      .unimplemented()
-      .warnNotFail();
     InitReg(MISCREG_UNKNOWN);
 
     // Register mappings for some unimplemented registers:
index b43b04f7277b1f397eac8d042fa8020d8d1e9368..b00e5ff6688eaf89575eac1821551605056056a8 100644 (file)
@@ -689,7 +689,6 @@ namespace ArmISA
         MISCREG_RAZ,
         MISCREG_CP14_UNIMPL,
         MISCREG_CP15_UNIMPL,
-        MISCREG_A64_UNIMPL,
         MISCREG_UNKNOWN,
 
         // Implementation defined register: this represent
@@ -1386,7 +1385,6 @@ namespace ArmISA
         "raz",
         "cp14_unimpl",
         "cp15_unimpl",
-        "a64_unimpl",
         "unknown",
         "impl_defined"
     };