gem5-dev@gem5.org

The gem5 Developer List

View all threads

[S] Change in gem5/gem5[develop]: arch-arm: Add an ArmAllRelease containing every defined extension

GT
Giacomo Travaglini (Gerrit)
Wed, May 24, 2023 12:28 PM

Giacomo Travaglini has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/70958?usp=email )

Change subject: arch-arm: Add an ArmAllRelease containing every defined
extension
......................................................................

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

M src/arch/arm/ArmSystem.py
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/arch/arm/ArmSystem.py b/src/arch/arm/ArmSystem.py
index b826f0d..c1f5e9f 100644
--- a/src/arch/arm/ArmSystem.py
+++ b/src/arch/arm/ArmSystem.py
@@ -224,6 +224,18 @@
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"

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

Gerrit-MessageType: newchange
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Ibca629e99da9b571f233de9d05a5a9186d02aa99
Gerrit-Change-Number: 70958
Gerrit-PatchSet: 1
Gerrit-Owner: Giacomo Travaglini giacomo.travaglini@arm.com

Giacomo Travaglini has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/70958?usp=email ) Change subject: arch-arm: Add an ArmAllRelease containing every defined extension ...................................................................... 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> --- M src/arch/arm/ArmSystem.py 1 file changed, 12 insertions(+), 0 deletions(-) diff --git a/src/arch/arm/ArmSystem.py b/src/arch/arm/ArmSystem.py index b826f0d..c1f5e9f 100644 --- a/src/arch/arm/ArmSystem.py +++ b/src/arch/arm/ArmSystem.py @@ -224,6 +224,18 @@ 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" -- To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/70958?usp=email To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: public/gem5 Gerrit-Branch: develop Gerrit-Change-Id: Ibca629e99da9b571f233de9d05a5a9186d02aa99 Gerrit-Change-Number: 70958 Gerrit-PatchSet: 1 Gerrit-Owner: Giacomo Travaglini <giacomo.travaglini@arm.com>