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
This commit is contained in:
@@ -357,7 +357,7 @@ if env['TARGET_ISA'] == 'x86':
|
||||
configs += ['simple-atomic', 'simple-atomic-mp',
|
||||
'simple-timing', 'simple-timing-mp',
|
||||
'minor-timing', 'minor-timing-mp',
|
||||
'o3-timing', 'o3-timing-mp',
|
||||
'o3-timing', 'o3-timing-mt', 'o3-timing-mp',
|
||||
'rubytest', 'memtest', 'memtest-filter',
|
||||
'tgen-simple-mem', 'tgen-dram-ctrl']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user