diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2015-10-05 13:13:23 -0500 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2015-10-05 13:13:23 -0500 |
commit | 17dbb49294e06ce3c486648da899973100c633f1 (patch) | |
tree | f2c3938a7d08d3faf8b50bb5fa6c473cb3135675 /tests/quick/se | |
parent | d1811cc6cf7a57c7b52da7303e6bbb55d9fbe058 (diff) | |
download | gem5-17dbb49294e06ce3c486648da899973100c633f1.tar.xz |
tests: Update SMT tests to correctly configure CPUs
The 01.hello-2T-smt test case for the O3 CPU didn't correctly setup
the number of threads before creating interrupt controllers, which
confused the constructor in BaseCPU. This changeset adds SMT support
to the test configuration infrastructure.
--HG--
rename : tests/configs/o3-timing.py => tests/configs/o3-timing-mt.py
rename : tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing/config.ini => tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing-mt/config.ini
rename : tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing/simerr => tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing-mt/simerr
rename : tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing/simout => tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing-mt/simout
rename : tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing/stats.txt => tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing-mt/stats.txt
Diffstat (limited to 'tests/quick/se')
-rw-r--r-- | tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing-mt/config.ini (renamed from tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing/config.ini) | 0 | ||||
-rwxr-xr-x | tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing-mt/simerr (renamed from tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing/simerr) | 0 | ||||
-rwxr-xr-x | tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing-mt/simout (renamed from tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing/simout) | 0 | ||||
-rw-r--r-- | tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing-mt/stats.txt (renamed from tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing/stats.txt) | 0 | ||||
-rw-r--r-- | tests/quick/se/01.hello-2T-smt/test.py | 2 |
5 files changed, 0 insertions, 2 deletions
diff --git a/tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing/config.ini b/tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing-mt/config.ini index 3b7f876e4..3b7f876e4 100644 --- a/tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing/config.ini +++ b/tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing-mt/config.ini diff --git a/tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing/simerr b/tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing-mt/simerr index 341b479f7..341b479f7 100755 --- a/tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing/simerr +++ b/tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing-mt/simerr diff --git a/tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing/simout b/tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing-mt/simout index 8bbada3f7..8bbada3f7 100755 --- a/tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing/simout +++ b/tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing-mt/simout diff --git a/tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing/stats.txt b/tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing-mt/stats.txt index 9d107898a..9d107898a 100644 --- a/tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing/stats.txt +++ b/tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing-mt/stats.txt diff --git a/tests/quick/se/01.hello-2T-smt/test.py b/tests/quick/se/01.hello-2T-smt/test.py index 7a8fbe0bd..6f8b18361 100644 --- a/tests/quick/se/01.hello-2T-smt/test.py +++ b/tests/quick/se/01.hello-2T-smt/test.py @@ -29,6 +29,4 @@ process1 = LiveProcess(cmd = 'hello', executable = binpath('hello')) process2 = LiveProcess(cmd = 'hello', executable = binpath('hello')) -root.system.multi_thread = True root.system.cpu[0].workload = [process1, process2] -root.system.cpu[0].numThreads = 2 |