From 97a6a64f286fb07557843d88776fbc69606b9d88 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 4 Nov 2019 15:48:52 -0800 Subject: [PATCH] arm: Stop serializing ISA values wihch are cached from the system. These values are not really part of the ISA state and could be retrieved from the system during execution. Also these values are already being set in the ISA constructor. Change-Id: Iea5f9bbb27add4ecebc6391da6c1c1e49e76508f Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22543 Reviewed-by: Giacomo Travaglini Maintainer: Giacomo Travaglini Tested-by: kokoro --- src/arch/arm/isa.hh | 29 +++++------------------------ 1 file changed, 5 insertions(+), 24 deletions(-) diff --git a/src/arch/arm/isa.hh b/src/arch/arm/isa.hh index ff889fa7d..fea372ed4 100644 --- a/src/arch/arm/isa.hh +++ b/src/arch/arm/isa.hh @@ -693,39 +693,20 @@ namespace ArmISA static void zeroSveVecRegUpperPart(VecRegContainer &vc, unsigned eCount); - void serialize(CheckpointOut &cp) const + void + serialize(CheckpointOut &cp) const { DPRINTF(Checkpoint, "Serializing Arm Misc Registers\n"); SERIALIZE_ARRAY(miscRegs, NUM_PHYS_MISCREGS); - - SERIALIZE_SCALAR(highestELIs64); - SERIALIZE_SCALAR(haveSecurity); - SERIALIZE_SCALAR(haveLPAE); - SERIALIZE_SCALAR(haveVirtualization); - SERIALIZE_SCALAR(haveLargeAsid64); - SERIALIZE_SCALAR(physAddrRange); - SERIALIZE_SCALAR(haveSVE); - SERIALIZE_SCALAR(sveVL); - SERIALIZE_SCALAR(haveLSE); - SERIALIZE_SCALAR(havePAN); } - void unserialize(CheckpointIn &cp) + + void + unserialize(CheckpointIn &cp) { DPRINTF(Checkpoint, "Unserializing Arm Misc Registers\n"); UNSERIALIZE_ARRAY(miscRegs, NUM_PHYS_MISCREGS); CPSR tmp_cpsr = miscRegs[MISCREG_CPSR]; updateRegMap(tmp_cpsr); - - UNSERIALIZE_SCALAR(highestELIs64); - UNSERIALIZE_SCALAR(haveSecurity); - UNSERIALIZE_SCALAR(haveLPAE); - UNSERIALIZE_SCALAR(haveVirtualization); - UNSERIALIZE_SCALAR(haveLargeAsid64); - UNSERIALIZE_SCALAR(physAddrRange); - UNSERIALIZE_SCALAR(haveSVE); - UNSERIALIZE_SCALAR(sveVL); - UNSERIALIZE_SCALAR(haveLSE); - UNSERIALIZE_SCALAR(havePAN); } void startup(ThreadContext *tc); -- 2.30.2