Bobby R. Bruce
d11c40dcac
misc: Run pre-commit run --all-files
...
This ensures `isort` is applied to all files in the repo.
Change-Id: Ib7ced1c924ef1639542bf0d1a01c5737f6ba43e9
2023-11-29 22:06:41 -08:00
Bobby R. Bruce
298119e402
misc,python: Run pre-commit run --all-files
...
Applies the `pyupgrade` hook to all files in the repo.
Change-Id: I9879c634a65c5fcaa9567c63bc5977ff97d5d3bf
2023-10-10 21:47:07 -07:00
Giacomo Travaglini
e73655d038
misc: Use python f-strings for string formatting
...
This patch has been generated by applying flynt to the
gem5 repo (ext has been excluded)
JIRA: https://gem5.atlassian.net/browse/GEM5-831
Change-Id: I0935db6223d5426b99515959bde78e374cbadb04
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com >
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/68957
Maintainer: Bobby Bruce <bbruce@ucdavis.edu >
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Bobby Bruce <bbruce@ucdavis.edu >
2023-03-16 09:05:29 +00:00
Bobby R. Bruce
787204c92d
python: Apply Black formatter to Python files
...
The command executed was `black src configs tests util`.
Change-Id: I8dfaa6ab04658fea37618127d6ac19270028d771
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/47024
Maintainer: Bobby Bruce <bbruce@ucdavis.edu >
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com >
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com >
Tested-by: kokoro <noreply+kokoro@google.com >
2022-08-03 09:10:41 +00:00
Andreas Sandberg
40c581be44
configs: Remove Python 2.7 glue code
...
Remove uses of six and from __future__ imports as they are no longer
needed.
Change-Id: I6e2f270557d7343bbad30c8e6d743e363c43715a
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com >
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/39755
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com >
Maintainer: Jason Lowe-Power <power.jg@gmail.com >
Tested-by: kokoro <noreply+kokoro@google.com >
2021-01-26 17:34:08 +00:00
Gabe Black
e9fcfb3c16
config: Delete authors lists from config files.
...
Change-Id: I049f2e97ad00d76341c2aeeaa02279862a8a4d71
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/25416
Maintainer: Gabe Black <gabeblack@google.com >
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br >
2020-02-17 10:06:07 +00:00
Gabe Black
67273d65ed
configs: Remove mentions of alpha from the configs.
...
Change-Id: I09117b52c0c87679eaa72dbb79545dd1e77732b1
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/24647
Tested-by: kokoro <noreply+kokoro@google.com >
Maintainer: Jason Lowe-Power <jason@lowepower.com >
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu >
2020-02-13 23:20:30 +00:00
Andreas Sandberg
fe3e808495
configs: Use absolute import paths
...
Use absoluate import paths to be Python 3 compatible. This also
imports absolute_import from __future__ to ensure that Python 2.7
behaves the same way as Python 3.
Change-Id: Ica06ed95814e9cd3e768b3e1785075e36f6e56d0
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com >
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/16708
Reviewed-by: Jason Lowe-Power <jason@lowepower.com >
2019-03-18 15:13:52 +00:00
Andreas Sandberg
32bbddf236
configs: Fix Python 3 iterator and exec compatibility issues
...
Python 2.7 used to return lists for operations such as map and range,
this has changed in Python 3. To make the configs Python 3 compliant,
add explicit conversions from iterators to lists where needed, replace
xrange with range, and fix changes to exec syntax.
This change doesn't fix import paths since that might require us to
restructure the configs slightly.
Change-Id: Idcea8482b286779fc98b4e144ca8f54069c08024
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com >
Reviewed-on: https://gem5-review.googlesource.com/c/16002
Reviewed-by: Gabe Black <gabeblack@google.com >
2019-02-26 10:28:00 +00:00
Gabe Black
659900aedd
config: Switch from the print statement to the print function.
...
Change-Id: I701fa58cfcfa2767ce9ad24da314a053889878d0
Reviewed-on: https://gem5-review.googlesource.com/8762
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com >
Reviewed-by: Jason Lowe-Power <jason@lowepower.com >
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com >
Maintainer: Gabe Black <gabeblack@google.com >
2018-03-06 23:39:43 +00:00
Brandon Potter
3886c4a8f2
syscall_emul: [patch 5/22] remove LiveProcess class and use Process instead
...
The EIOProcess class was removed recently and it was the only other class
which derived from Process. Since every Process invocation is also a
LiveProcess invocation, it makes sense to simplify the organization by
combining the fields from LiveProcess into Process.
2016-11-09 14:27:40 -06:00
ARM gem5 Developers
612f8f074f
arm: Add support for ARMv8 (AArch64 & AArch32)
...
Note: AArch64 and AArch32 interworking is not supported. If you use an AArch64
kernel you are restricted to AArch64 user-mode binaries. This will be addressed
in a later patch.
Note: Virtualization is only supported in AArch32 mode. This will also be fixed
in a later patch.
Contributors:
Giacomo Gabrielli (TrustZone, LPAE, system-level AArch64, AArch64 NEON, validation)
Thomas Grocutt (AArch32 Virtualization, AArch64 FP, validation)
Mbou Eyole (AArch64 NEON, validation)
Ali Saidi (AArch64 Linux support, code integration, validation)
Edmund Grimley-Evans (AArch64 FP)
William Wang (AArch64 Linux support)
Rene De Jong (AArch64 Linux support, performance opt.)
Matt Horsnell (AArch64 MP, validation)
Matt Evans (device models, code integration, validation)
Chris Adeniyi-Jones (AArch64 syscall-emulation)
Prakash Ramrakhyani (validation)
Dam Sunwoo (validation)
Chander Sudanthi (validation)
Stephan Diestelhorst (validation)
Andreas Hansson (code integration, performance opt.)
Eric Van Hensbergen (performance opt.)
Gabe Black
2014-01-24 15:29:34 -06:00
Ali Saidi
6a6d888ab4
cpu2000: Add missing art benchmark to all
2012-01-09 18:08:20 -06:00
Nathan Binkert
09064ea552
python: fix another bug from changes to main.py
2011-04-20 19:07:44 -07:00
Ali Saidi
3dc6a8070e
ARM: fix sizes of structs for ARM Linux
2010-06-02 12:58:17 -05:00
Steve Reinhardt
9b66e82897
configs: Allow M5_CPU2000 env var to set CPU2K binary path.
...
It would be nice to have a more comprehensive mechanism
but this is a big improvement over manually editing the script.
2009-04-15 12:52:31 -07:00
Ali Saidi
969688154d
Simpoints: Fix regression bug/Don't set process.simpoint, if simpoint doesn't exist
...
--HG--
extra : convert_revision : c156c49668815755c4c788f807e8eba32151aa24
2008-03-15 22:20:09 -04:00
Rick Strong
fcfc8b8c4f
Configs: Make using Simpoints easier with some config files that support them easily
...
--HG--
extra : convert_revision : 0f21829306eb68b332f03da410e6c341c8595bdd
2008-02-27 00:35:09 -05:00
Nathan Binkert
d14256f9ba
the cmd argument is supposed to be an array of parameters, not one string
...
--HG--
extra : convert_revision : dffdaa94a1f28f3709515a9eeed420552d8c7b22
2007-06-10 13:57:48 -07:00
Gabe Black
39c4ea3473
Fix mcf benchmark object so it gets the arguments it expects.
...
--HG--
extra : convert_revision : 47087be1f89699e9f8e0dc023abbf593bc0f6618
2007-03-22 00:10:47 -04:00
Gabe Black
4b4b46ea90
Keep around which input set was used for a benchmark, and make vortex work with SPARC.
...
--HG--
extra : convert_revision : c891435a31e81fb8294484aedf340c0c96c8afa2
2007-03-03 03:34:53 +00:00
Nathan Binkert
bd8cc37650
Implement a single config file to encompass all of the SPEC
...
CPU2000 stuff, and use it in all of the tests that currently
use SPEC
--HG--
extra : convert_revision : 8cd26a597e51a90b6d2810d344a075f5aa0f011b
2006-11-16 13:10:38 -08:00