Dears,
To have 3 cores, each one has different threads, so the conf file would be
ooo_core:
description: 3 out of order configuration
min_contexts: 1
cores: # The order in which core is defined is used to assign
# the cores in a machine
- type: ooo
name_prefix: ooo_
option:
threads: 3
- type: ooo
name_prefix: ooo_
option:
threads: 2
- type: ooo
name_prefix: ooo_
option:
threads: 1
and the build by scons -Q dramsim=[path to dram]
Is that right ?
Also what is the difference between multi-threads and multi-issue found in
ooo.cpp
#ifndef MULTI_IQ
int reserved_iq_entries_per_thread = (int)sqrt(
ISSUE_QUEUE_SIZE / threadcount);
cout <<"reserved_iq_entries_per_thread ==> "
<<reserved_iq_entries_per_thread << "\n";
cout << "ISSUE_QUEUE_SIZE==>"<<ISSUE_QUEUE_SIZE<<"\n";
cout << "threadcount==>" << threadcount << "\n";
reserved_iq_entries = reserved_iq_entries_per_thread * \
threadcount;
cout <<"reserved_iq_entries==>" << reserved_iq_entries << "\n";
assert(reserved_iq_entries && reserved_iq_entries < \
ISSUE_QUEUE_SIZE);
foreach_issueq(set_reserved_entries(reserved_iq_entries));
#else
int reserved_iq_entries_per_thread = (int)sqrt(
ISSUE_QUEUE_SIZE / threadcount);
for_each_cluster(cluster){
reserved_iq_entries[cluster] = reserved_iq_entries_per_thread * \
threadcount;
assert(reserved_iq_entries[cluster] && reserved_iq_entries[cluster]
< \
ISSUE_QUEUE_SIZE);
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel