From dc76c00c9bb69ebb43899b0fb07b4f57c9add715 Mon Sep 17 00:00:00 2001 From: Giacomo Travaglini Date: Wed, 24 May 2023 13:10:16 +0100 Subject: [PATCH] arch-arm: Add an ArmAllRelease containing every defined extension This is probably the easiest way to instantiate a release containing any implemented extension. It is alternatively possible to use the latest release (e.g. Armv92 as of now). This could be preferrable for consistency across simulations. However if users want to always be up to date with development, using ArmAllRelease will allow them to do so without the need to change their configuration script Change-Id: Ibca629e99da9b571f233de9d05a5a9186d02aa99 Signed-off-by: Giacomo Travaglini Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/70958 Tested-by: kokoro Reviewed-by: Richard Cooper Maintainer: Jason Lowe-Power --- src/arch/arm/ArmSystem.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/arch/arm/ArmSystem.py b/src/arch/arm/ArmSystem.py index b826f0dec7..c1f5e9fd10 100644 --- a/src/arch/arm/ArmSystem.py +++ b/src/arch/arm/ArmSystem.py @@ -224,6 +224,18 @@ class Armv92(Armv85): extensions = Armv85.extensions + ["FEAT_SME"] +class ArmAllRelease(ArmRelease): + """ + A release containing any implemented extension. It is alternatively + possible to use the latest release (e.g. Armv92 as of now). This could be + preferrable for consistency across simulations. However if users want to + always be up to date with development, using ArmAllRelease will allow them + to do so without the need to change their configuration script + """ + + extensions = ArmExtension.vals + + class ArmSystem(System): type = "ArmSystem" cxx_header = "arch/arm/system.hh"