Gabe Black
6bbaceca91
scons: Simplify the PySource class slightly.
...
Demote the cpp attribute to a local variable, and get rid of the unused
"package" attribute.
Change-Id: I190792274ea9bdd9853aa3b6e07ce4151b378251
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/49388
Maintainer: Gabe Black <gabe.black@gmail.com >
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu >
2021-09-16 20:39:30 +00:00
Gabe Black
0b06c55520
scons: Eliminate the tnode dict in PySource.
...
Rather than pass these values to the embedPyFile function indirectly
through python, we should pass them through the environment so SCons can
know about them, and also to simplify the PySource class.
Change-Id: I466613c194bfd965a6f5f34e1e92131834fb8b66
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/49387
Maintainer: Gabe Black <gabe.black@gmail.com >
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu >
2021-09-16 20:39:30 +00:00
Richard Cooper
40c3839413
scons: Re-enable TRACING_ON flag
...
The TRACING_ON flag was removed in a previous commit [1], but is still
used by the _check_tracing() function in main.py. This breaks gem5
simulations when debug flags are enabled.
This patch re-enables the TRACING_ON flag.
[1] https://gem5-review.googlesource.com/c/public/gem5/+/48379
Change-Id: I90ed8a46938fa2748b96c1b378329a4ba1ef047e
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/50427
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-09-16 10:42:47 +00:00
Andreas Sandberg
ea29c98e68
python: Remove unnecessary Python 2.x workaround
...
We needed to explicitly cast the return value from getCode() to int to
avoid a Python 2.x issue where sys.exit() got confused by an
unexpected long argument. This isn't an issue in Python 3 since long
has been removed as a separate type.
Change-Id: I7770d0f180e826ac7e6c92c13bc6a61447e3f851
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com >
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/50407
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-09-16 08:52:28 +00:00
Gabe Black
ec931a6413
scons: Declare PySource Source files in the PySource __init__.
...
There's no reason to wait until the end to loop over all PySource files
and declare their Source-s then.
Change-Id: I94de1b2123bb94324a647bbc005a923012080cab
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/49386
Maintainer: Gabe Black <gabe.black@gmail.com >
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu >
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com >
2021-09-16 00:55:11 +00:00
Gabe Black
6a36839da5
scons: Create a namedtuple for debug flag info.
...
This avoids having to rely on certain bits of information being in
certain positions, and also makes it more obvious which piece of
information you're referring to when manipulating the objects.
Change-Id: I93799d00261002996a42a62a7de34c4c275847c5
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/49385
Maintainer: Gabe Black <gabe.black@gmail.com >
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com >
Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu >
2021-09-16 00:55:11 +00:00
Gabe Black
7a133da281
scons: Simplify the makeDebugFlagCC python function.
...
Change-Id: I3fdbdc5a4f2b45153550c65e0d447a3d6cec34f1
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/49384
Maintainer: Gabe Black <gabe.black@gmail.com >
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu >
2021-09-16 00:55:11 +00:00
Gabe Black
7f9d9d336f
base: Fix some style problems in addr_range.hh.
...
Change-Id: Ib55b86350c4bc3f1f44af996db25a1e44826d077
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/50346
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br >
Maintainer: Daniel Carvalho <odanrc@yahoo.com.br >
2021-09-15 20:19:42 +00:00
Gabe Black
93339d7057
scons: Accumulate debug flags in a construction variable.
...
Do this instead of putting them in a dictionary side channel.
Change-Id: I52319f2d42c87ef8e7861e7dc700ba45b8e1629e
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/49383
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu >
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu >
2021-09-15 20:17:23 +00:00
Gabe Black
611207eff0
scons: Clean up the definition of m5.defines a little bit.
...
Use the new helper functions to go to/from a Value(), and tidy things up
slightly.
Change-Id: I9a31004b5a610bb8e94848d1fb88606dda6fc3c2
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/48381
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu >
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu >
2021-09-15 20:16:58 +00:00
Austin Harris
76cbc20a54
tests: Add a test for KVM boot then switching cpus
...
A simple test for the switchable processor to boot linux, switch cpus,
then simulate to completion. The boot script runs m5 exit twice, first
to signal the test to switch cpus and then to actually exit.
Jira Issue: https://gem5.atlassian.net/browse/GEM5-1086
Change-Id: I9a7a6539b94b7b3f6d789ddf879d321613aef87a
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/50230
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu >
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu >
Tested-by: kokoro <noreply+kokoro@google.com >
2021-09-15 19:31:01 +00:00
Gabe Black
a2c42a12b1
scons,python: Stop importing some values in m5.defines.
...
The compileDate and gem5Version fields are used in only one place,
gem5's python main function. These fields are the remaining difference
between the "fake" defines.py provided by the SimObject importer, and
the real one composed later. It makes sense to exclude them in the
"fake" version since those values come from c++, but it would feel like
an arbitrary and unexpected difference to people trying to use it.
Change-Id: Ie344765bf7c8063197da24f5b55f762379deff94
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/48380
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com >
Maintainer: Jason Lowe-Power <power.jg@gmail.com >
2021-09-15 04:18:26 +00:00
Gabe Black
ad1f240a12
scons: Eliminate flag_* entries from m5.defines.
...
These are not used anywhere, and are very old.
Change-Id: If37a8fe2e0c3374fba1930353e502746f333d86d
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/48379
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu >
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu >
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu >
2021-09-15 04:18:26 +00:00
Gabe Black
8e28a06f11
scons: Pull the "Blob" builder out of src/SConscript.
...
Change-Id: Ib52c7b51d52aeccdcd2ca05cb0a71267268d969d
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/48378
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu >
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu >
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu >
2021-09-15 04:18:26 +00:00
Gabe Black
88a932522d
scons: Move the bytesToCppArray helper to gem5_scons.util.
...
Change-Id: Ib8789dd33ebbfb8e10446de5d1079654a2200d2d
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/48377
Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu >
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu >
Tested-by: kokoro <noreply+kokoro@google.com >
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu >
2021-09-15 04:18:26 +00:00
Gabe Black
b61f539f05
scons: Move the source related helper classes out of src/SConscript.
...
By having them in gem5_scons.sources, they can be used by mechanisms
outside of src/SConscript, like separated out builders.
Change-Id: Ic3769723c8413e7db48aef536572ad3f2f948658
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/48376
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu >
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu >
2021-09-14 23:26:49 +00:00
Gabe Black
38d3c5f4be
scons: Build the source filter factories dict in SourceFilter.
...
This is a little cleaner since it avoids an additional global variable.
Change-Id: I19d9a0afd12fdfeeda0b524bd71943d155ed5d7d
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/48375
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu >
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu >
2021-09-14 23:26:31 +00:00
Gabe Black
8dcf606015
scons: Turn gem5_scons.builders from a module into a package.
...
This will make it easier to organize when there are more builders in the
future.
Change-Id: I3db2f2c87b39ed0d427a2e505c7c9152e47ee58b
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/48374
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu >
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu >
2021-09-14 23:25:48 +00:00
Gabe Black
4b86614d31
scons: Tidy up the definition of SourceFile slightly.
...
Use {} notation for creating a set, and rely on the fact that applying
File() to something that already is does nothing.
Change-Id: I2ec99e4a4859df9a0a88bcc38e93233841124de6
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/48373
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu >
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu >
2021-09-14 22:12:25 +00:00
Gabe Black
d73e4b789e
scons: Define the rules for building debug flag hdrs in place.
...
Define the rules for building debug flag header files in place, instead
of looping over them all after they've been accumulated.
Change-Id: I02113a21529958c3f971b5462ea340d70d1b18d7
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/48372
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu >
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu >
2021-09-14 22:12:25 +00:00
Gabe Black
2a4f01b87f
scons: Add a pair of functions for working with Value nodes.
...
These nodes are really for working with text, and they do strange and
broken things otherwise. This change adds a pair of convenience
functions which uses pickle to serialize an object for the Value to
hold, and to unpack the Value later.
Change-Id: Id48822ce3de283b003d4cc7ef6b563a70e321ca6
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/48371
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu >
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu >
2021-09-14 22:12:25 +00:00
Gabe Black
98b50f3f2b
scons: Generalize the Executable class to cover libraries too.
...
This way the shared and static gem5 libraries can be treated like other
top level build targets.
Change-Id: I04dd82f9be86df0a5cabd2e4934077c33235911c
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/48369
Maintainer: Gabe Black <gabe.black@gmail.com >
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu >
2021-09-14 22:12:25 +00:00
Austin Harris
0703c968ca
scons: Setup the m4 tool for libelf
...
This resolves an error that SConsEnvironment has no attribute 'm4' on
some systems.
Change-Id: I9dfce277308d1939c3bd392f83dc49937884660e
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/50259
Reviewed-by: Gabe Black <gabe.black@gmail.com >
Maintainer: Gabe Black <gabe.black@gmail.com >
Tested-by: kokoro <noreply+kokoro@google.com >
2021-09-14 15:20:58 +00:00
Austin Harris
5eff9b5e9b
python: Fix switchable processor event queues
...
This fixes the event queues added to the switchable processor in
ade8c08 to only be added to the KVM cores.
Jira Issue: https://gem5.atlassian.net/browse/GEM5-1086
Change-Id: I74ebc4aa52a44662602b9512c23c8fb8a40101d0
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/50229
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com >
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu >
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu >
Tested-by: kokoro <noreply+kokoro@google.com >
2021-09-13 22:34:59 +00:00
Bobby R. Bruce
235dbd3dd0
tests: Fix incorrect ref path for insttest
...
This is part of the fix for the following nightly build error:
https://www.mail-archive.com/gem5-dev@gem5.org/msg40426.html
Change-Id: I60d9052b5d6dc812892b3d90baf19b8fd396f47b
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/50228
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu >
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com >
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu >
Tested-by: kokoro <noreply+kokoro@google.com >
2021-09-12 01:21:53 +00:00
Bobby R. Bruce
8c1f06b146
tests: Fix verifier to ignore downloader stdout
...
This part of the fix for the following nightly build error:
https://www.mail-archive.com/gem5-dev@gem5.org/msg40426.html .
The new resource downloader outputs messages to stdout informing the
user of the download status. For tests which compare the stdout to some
reference, these lines need ignored.
Change-Id: Ic209c37a6511f8eebf5a940dd01c769d0eb971fc
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/50227
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu >
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com >
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu >
Tested-by: kokoro <noreply+kokoro@google.com >
2021-09-12 01:21:53 +00:00
Bobby R. Bruce
22126f952b
Merge "misc: Merge branch v21.1.0.1 into develop" into develop
2021-09-10 16:02:07 +00:00
Samuel Stark
2c457d2a9f
cpu: Fix TME for dyn_o3_cpu
...
Commit c417b76 changed the behaviour of addRequest(),
but did not update documentation or the HTM-related logic that used it.
Updates documentation for addRequest() in light of c417b76 ,
refactors request class to be idiomatic and use assigned byteEnable,
made HTM cmds pass in a correct byteEnable.
Change-Id: I7aa8c127df896e81caf915fbfea93e7b4bcc53b7
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/50147
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-09-10 08:13:59 +00:00
Gabe Black
f4d8200178
scons: Pull some python related mechanisms out of USE_PYTHON guards.
...
We don't want to build certain files if USE_PYTHON is disabled, but we
can still tell scons how to.
Change-Id: I38c7c93f609cfcedc350f8270f0b239b69c4f101
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/48367
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu >
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu >
2021-09-10 04:19:24 +00:00
Gabe Black
e20e3cf47e
scons: Change how the test object file suffix is applied.
...
This had been done by prepending the letter "t" to the suffix, with the
intention of turning a suffix like ".o" to ".to". Unfortunately SCons
stores both the actual suffix and the "." in that variable, so what we
ended up with was ".o" => "t.o", so test.o would become testt.o.
This change updates that logic to prepend a ".t" in front of the
existing suffix, skipping over it's first character which is assumed to
be a ".".
Change-Id: Id8c5f893413284868c2dc2a1a5e879b86790ed76
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/50067
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu >
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu >
Tested-by: kokoro <noreply+kokoro@google.com >
2021-09-10 04:19:24 +00:00
Bobby R. Bruce
0041ecb741
tests,gpu-compute: Add GCN3 Square test to Nightly
...
Change-Id: I734a470d481f4012148820f62fdc3f535ea3d8f8
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/50167
Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com >
Reviewed-by: Matthew Poremba <matthew.poremba@amd.com >
Maintainer: Matt Sinclair <mattdsinclair@gmail.com >
Maintainer: Matthew Poremba <matthew.poremba@amd.com >
Tested-by: kokoro <noreply+kokoro@google.com >
2021-09-10 00:03:27 +00:00
Bobby R. Bruce
01ff91991b
tests: Fix x86-boot-tests nightly tests
...
The nightly tests were failing as reported here:
https://www.mail-archive.com/gem5-dev@gem5.org/msg40394.html .
This was due to the tests trying to run our MI_Example test against
GCN3_X86 instead of the X86 ISA target. This patch fixes the issue.
Change-Id: I8ea692ffc06e3d7c4150074ed22e16096b3dbb5e
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/50128
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu >
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com >
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu >
Tested-by: kokoro <noreply+kokoro@google.com >
2021-09-09 16:29:28 +00:00
Gabe Black
abf6b8b7b6
cpu: Generalize the vec reg types out of InstResult.
...
Use templates to delegate knowing what these types are to whatever is using
InstResult. This will need to be even more generalized at these call
sights so that we don't just push around the dependencies, but that will
have to be handled later.
Change-Id: I45915d70ea06caed06f0ccf356f9e2e1acbd6c61
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/49131
Reviewed-by: Yu-hsin Wang <yuhsingw@google.com >
Maintainer: Gabe Black <gabe.black@gmail.com >
Tested-by: kokoro <noreply+kokoro@google.com >
2021-09-09 16:03:18 +00:00
Jason Lowe-Power
a1fa9f94b8
arch-riscv: Remove unused stats
...
These stats were unused and caused a warning about legacy stats. From
what I can tell looking at the blame, they were never used.
Change-Id: If2886e91dd776c34354a79a4cbc447ffe5988982
Signed-off-by: Jason Lowe-Power <jason@lowepower.com >
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/50068
Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu >
Maintainer: Jason Lowe-Power <power.jg@gmail.com >
Tested-by: kokoro <noreply+kokoro@google.com >
2021-09-09 15:01:38 +00:00
Austin Harris
ade8c08e7a
python: Update switchable processor to support KVM
...
Change-Id: Ie843e2b4ab6e506bb195bfcef33cead9a6273901
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/50127
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu >
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com >
Tested-by: kokoro <noreply+kokoro@google.com >
2021-09-09 06:54:44 +00:00
Bobby R. Bruce
6ab4d09cd1
tests: Add weekly.sh for Weekly tests
...
This script is to be run by our Jenkins instance on weekly basis. At the
time of this commit, this is running benchmarks.
Change-Id: Id6ca1adf74690d3112fb9f1b18077c76a78b2ce2
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/49615
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu >
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com >
2021-09-08 22:44:31 +00:00
Bobby R. Bruce
5ae5340487
tests: Add memory traffic generation tests
...
These test the gem5 components memory components via a traffic
generator.
Change-Id: Ifba78a6f4a062102da72c88f4df70b2e7fee0888
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/49559
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu >
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com >
2021-09-08 22:44:31 +00:00
Bobby R. Bruce
c99fbbf073
configs,python: Fix test_board 'setup_memory_ranges()' call
...
Change-Id: I8e02b8bfbfa4b0efdb173dd3ab39bb458a169a57
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/49612
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com >
Maintainer: Jason Lowe-Power <power.jg@gmail.com >
2021-09-08 22:44:31 +00:00
Bobby R. Bruce
5d68d32532
configs,test: Move components-lib scripts to tests
...
Previously these scripts were in `configs/example/components-library`
though they are now used purely for testing purposes and have therefore
been moved to `tests/gem5/configs/example/components-library`.
There should be example scripts for usage of the components library, but
these scripts are no longer suitable since being made more flexible for
the purposes of testing.
Change-Id: I7c4d5bb86fe94898f006220dd962841344b1868e
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/49558
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com >
Maintainer: Jason Lowe-Power <power.jg@gmail.com >
2021-09-08 22:44:31 +00:00
Bobby R. Bruce
964e2c0601
tests: Update test_exit.py to run with simple_binary_run.py
...
In addition, Python black has been run on simple_binary_run.py
Change-Id: I6e7580f7bbdf249a081302dd46a14df95d7d53bb
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/49557
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com >
Maintainer: Jason Lowe-Power <power.jg@gmail.com >
2021-09-08 22:44:31 +00:00
Bobby R. Bruce
520b775b32
tests: Updates test_hdf5.py to use simple_binary_run.py
...
In addition, python black has been run on test_hdf5.py
Change-Id: Ib39ed8cf71354fe07519a68d39468b8b3a5caf1b
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/49556
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-09-08 22:44:31 +00:00
Bobby R. Bruce
5c949b0c01
tests: Update the insttest to use simple_binary_run.py
...
In addition, test.py has been formatted with Python black.
Change-Id: If813c80e15a019502c60ab09fb62484fc2cdf0c6
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/49555
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com >
Maintainer: Jason Lowe-Power <power.jg@gmail.com >
2021-09-08 22:44:31 +00:00
Bobby R. Bruce
86d16db5dd
tests: Update hello_se to use simple_binary_run.py
...
Additionally: test_hello_se.py has been formatted with Python black.
Change-Id: I14235c74dae2d98be78aadfe4bf825ea881c5300
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/49554
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com >
Maintainer: Jason Lowe-Power <power.jg@gmail.com >
2021-09-08 22:44:31 +00:00
Bobby R. Bruce
949c12e0d5
configs,python: Update simple_binary_run.py for testing
...
This allows us to test the running of bare-metal binaries on gem5. The
current design assumes the binaries to run are part of gem5 Resources.
Change-Id: I4f0f40a4628fd5f5951d89079824369a219d6e91
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/49553
Tested-by: kokoro <noreply+kokoro@google.com >
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com >
Maintainer: Jason Lowe-Power <power.jg@gmail.com >
2021-09-08 22:44:31 +00:00
Bobby R. Bruce
1b7c9f0edb
misc: Merge branch v21.1.0.1 into develop
...
Change-Id: Ia1df6f9bce23633a2fef5c818d26a043f8d8e39d
2021-09-08 10:50:17 -07:00
Bobby R. Bruce
082f0835b0
misc: Update the version to v21.1.0.1
...
Change-Id: I64055b88bc3ba3f1e104ad796abec6ff4a4b3b11
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/50031
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu >
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com >
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu >
Tested-by: kokoro <noreply+kokoro@google.com >
2021-09-08 17:26:12 +00:00
Bobby R. Bruce
94a8afc843
misc: Update release notes for v21.1.0.1 Hotfix
...
Change-Id: I8a99b2602b1fce566006a4e07aee8c3b574a6ae1
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/50030
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu >
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com >
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br >
Tested-by: kokoro <noreply+kokoro@google.com >
2021-09-08 17:26:12 +00:00
Tom Rollet
fc045f9a6b
scons: fix hook for 'deprecated' attribute
...
On the new release, the compilation is polluted by the same warning:
> ''deprecated' attribute directive ignored
It seems that the hook added in this patch does not work:
https://gem5-review.googlesource.com/c/public/gem5/+/45246/1..7
The snippet of code compile with TryCompile on g++{8,9}.
It probably comes from the fact that the compilation
only creates a warning and not an error.
By adding temporarily '-Werror' for this compilation test,
it filters the faulty gcc versions.
Change-Id: I2b8b7a1a7e06df437b76e98d212947f4f9452311
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/48843
Reviewed-by: Gabe Black <gabe.black@gmail.com >
Maintainer: Gabe Black <gabe.black@gmail.com >
Tested-by: kokoro <noreply+kokoro@google.com >
(cherry picked from commit a366e66272 )
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/50028
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu >
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com >
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br >
2021-09-08 17:26:12 +00:00
Bobby R. Bruce
590daeb901
learning-gem5,tests: Move Learning gem5 Part 3 to run nightly
...
The Learning gem5 part 3 tests require the building of the X86_MSI
binary. These are the only tests that require this protocol. Building
this is not worth it to just run these tests. They've therefore been
moved to be run nightly rather than as a pre-submit/kokoro test.
Change-Id: If0cdd9c30a160a01cef5fcda8a5433ab2d6ac882
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/50027
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-09-08 04:19:05 +00:00
Bobby R. Bruce
f1a56c1f5a
tests: Add PARSEC tests
...
Change-Id: I74adbe25c34a21963ff3252cff13cec8203b191c
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/49552
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu >
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com >
Tested-by: kokoro <noreply+kokoro@google.com >
2021-09-08 04:16:59 +00:00