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 <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/70958
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Richard Cooper <richard.cooper@arm.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
This commit is contained in:
Giacomo Travaglini
2023-05-24 13:10:16 +01:00
parent dfa3c073cf
commit dc76c00c9b

View File

@@ -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"