Ivan Turasov has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/68217?usp=email )

Change subject: arch-arm: Add missing <array> header in regs/misc.hh
......................................................................

arch-arm: Add missing <array> header in regs/misc.hh

Adding the header avoids "error: implicit instantiation of undefined template 'std::array..."
error that halted the build process on macOS.

Relevant discussion on Slack with Gabriel Bunsot

Change-Id: I935d7045f4b2c01ecef7c663de7c1e9408eead57
---
M src/arch/arm/regs/misc.hh
1 file changed, 15 insertions(+), 35 deletions(-)



diff --git a/src/arch/arm/regs/misc.hh b/src/arch/arm/regs/misc.hh
index 999993b..c120606 100644
--- a/src/arch/arm/regs/misc.hh
+++ b/src/arch/arm/regs/misc.hh
@@ -41,6 +41,7 @@
 #ifndef __ARCH_ARM_REGS_MISC_HH__
 #define __ARCH_ARM_REGS_MISC_HH__

+#include <array>
 #include <bitset>
 #include <tuple>

@@ -1062,19 +1063,6 @@
         MISCREG_ZCR_EL12,
         MISCREG_ZCR_EL1,

-        // SME
-        MISCREG_ID_AA64SMFR0_EL1,
-        MISCREG_SVCR,
-        MISCREG_SMIDR_EL1,
-        MISCREG_SMPRI_EL1,
-        MISCREG_SMPRIMAP_EL2,
-        MISCREG_SMCR_EL3,
-        MISCREG_SMCR_EL2,
-        MISCREG_SMCR_EL12,
-        MISCREG_SMCR_EL1,
-        MISCREG_TPIDR2_EL0,
-        MISCREG_MPAMSM_EL1,
-
         // NUM_PHYS_MISCREGS specifies the number of actual physical
         // registers, not considering the following pseudo-registers
         // (dummy registers), like MISCREG_UNKNOWN, MISCREG_IMPDEF_UNIMPL.
@@ -1105,13 +1093,6 @@
         MISCREG_VSESR_EL2,
         MISCREG_VDISR_EL2,

-        // HCX extension (unimplemented)
-        MISCREG_HCRX_EL2,
-
-        // FGT extension (unimplemented)
-        MISCREG_HFGRTR_EL2,
-        MISCREG_HFGWTR_EL2,
-
         // PSTATE
         MISCREG_PAN,
         MISCREG_UAO,
@@ -2704,18 +2685,6 @@
         "zcr_el12",
         "zcr_el1",

-        "id_aa64smfr0_el1",
-        "svcr",
-        "smidr_el1",
-        "smpri_el1",
-        "smprimap_el2",
-        "smcr_el3",
-        "smcr_el2",
-        "smcr_el12",
-        "smcr_el1",
-        "tpidr2_el0",
-        "mpamsm_el1",
-
         "num_phys_regs",

         // Dummy registers
@@ -2734,9 +2703,6 @@
         "disr_el1",
         "vsesr_el2",
         "vdisr_el2",
-        "hcrx_el2",
-        "hfgrtr_el2",
-        "hfgwtr_el2",

         // PSTATE
         "pan",

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/68217?usp=email To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I935d7045f4b2c01ecef7c663de7c1e9408eead57
Gerrit-Change-Number: 68217
Gerrit-PatchSet: 1
Gerrit-Owner: Ivan Turasov <turasov.i...@gmail.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org

Reply via email to