Fix default SMT configuration in O3CPU (i.e. fetch policy, workloads/numThreads)
Edit Test3 for newmem
src/base/traceflags.py:
Add O3CPU flag
src/cpu/base.cc:
for some reason adding a BaseCPU flag doesnt work so just go back to old way...
src/cpu/o3/alpha/cpu_builder.cc:
Determine number threads by workload size instead of solely by parameter.
Default SMT fetch policy to RoundRobin if it's not specified in Config file
src/cpu/o3/commit.hh:
only use nextNPC for !ALPHA
src/cpu/o3/commit_impl.hh:
add FetchTrapPending as condition for commit
src/cpu/o3/cpu.cc:
panic if active threads is more than Impl::MaxThreads
src/cpu/o3/fetch.hh:
src/cpu/o3/inst_queue.hh:
src/cpu/o3/inst_queue_impl.hh:
src/cpu/o3/rob.hh:
src/cpu/o3/rob_impl.hh:
name stuff
src/cpu/o3/fetch_impl.hh:
fatal if try to use SMT branch count, that's unimplemented right now
src/python/m5/config.py:
make it clearer that a parameter is not valid within a configuration class
--HG--
extra : convert_revision : 55069847304e40e257f9225f0dc3894ce6491b34
This commit is contained in:
@@ -68,12 +68,12 @@ BaseCPU::BaseCPU(Params *p)
|
||||
number_of_threads(p->numberOfThreads), system(p->system)
|
||||
#endif
|
||||
{
|
||||
DPRINTF(BaseCPU, "BaseCPU: Creating object, mem address %#x.\n", this);
|
||||
DPRINTF(FullCPU, "BaseCPU: Creating object, mem address %#x.\n", this);
|
||||
|
||||
// add self to global list of CPUs
|
||||
cpuList.push_back(this);
|
||||
|
||||
DPRINTF(BaseCPU, "BaseCPU: CPU added to cpuList, mem address %#x.\n",
|
||||
DPRINTF(FullCPU, "BaseCPU: CPU added to cpuList, mem address %#x.\n",
|
||||
this);
|
||||
|
||||
if (number_of_threads > maxThreadsPerCPU)
|
||||
|
||||
Reference in New Issue
Block a user