cpu: Add SMT support to MinorCPU
Review Request #3339 - Created Feb. 23, 2016 and submitted
| Information | |
|---|---|
| Curtis Dunham | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
cpu: Add SMT support to MinorCPU This patch adds SMT support to the MinorCPU. Currently RoundRobin or Random thread scheduling are supported.
-
src/cpu/minor/decode.hh (Diff revision 1) -
Style: all other class defns. have the { on the next line.
-
src/cpu/minor/decode.hh (Diff revision 1) -
Dropping Reservable is a good move.
-
src/cpu/minor/decode.cc (Diff revision 1) -
Over indendation. Pull the first line up to the = ?
-
src/cpu/minor/decode.cc (Diff revision 1) -
Add [tid:] to this and other DPRINTFs like you've done in other cases.
-
src/cpu/minor/decode.cc (Diff revision 1) -
Drop open { on multi-line condition to next line to match the rest of the code.
-
src/cpu/minor/decode.cc (Diff revision 1) -
minorTrace output really should reflect the threading. I notice you've added a thread index to (some?) blocks. Are you planning to dump all thread info in minorTrace() in another patch?
-
src/cpu/minor/execute.hh (Diff revision 1) -
Doesn't this disappear into the thread info?
-
src/cpu/minor/execute.cc (Diff revision 1) -
Is this missing clause correct? The only_issue_microops flag is a bodgy way of handling draining, do you replace it with another mechanism?
-
src/cpu/minor/execute.cc (Diff revision 1) -
Id the full id comparison done to include the threadId? As the execSeqNums will be the same (as you didn't pass the condition on the previous clause), just comparing thread ids will work here, won't it?
-
src/cpu/minor/execute.cc (Diff revision 1) -
"Unstalling fu: %d" ...
-
src/cpu/minor/execute.cc (Diff revision 1) -
Original spelling was correct.
-
src/cpu/minor/execute.cc (Diff revision 1) -
Next line before {
-
src/cpu/minor/fetch1.hh (Diff revision 1) -
<nl> {
-
src/cpu/minor/fetch1.hh (Diff revision 1) -
Spelling
-
src/cpu/minor/fetch1.cc (Diff revision 1) -
<nl> {
-
src/cpu/minor/fetch1.cc (Diff revision 1) -
He he
-
src/cpu/minor/fetch2.hh (Diff revision 1) -
Style
-
util/minorview/minor.pic (Diff revision 1) -
Add more than one set of thread structures to the default .pic file?
