cpu: Consider instructions waiting for FU completion in draining
Review Request #1894 - Created June 4, 2013 and submitted
| Information | |
|---|---|
| Andreas Hansson | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 9745:f74b7b7af31d --------------------------- cpu: Consider instructions waiting for FU completion in draining This patch changes the IEW drain check to include the FU pool as there can be instructions that are "stored" in FU completion events and thus not covered by the existing checks. With this patch, we simply include a check to see if all the FUs are considered non-busy in the next tick. Without this patch, the pc-switcheroo-full regression fails after minor changes to the cache timing (aligning to clock edge).
All regressions pass
Review request changed
Updated (June 4, 2013, 3:46 a.m.)
Description: |
|
|||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+19 -10) |
LGTM.
-
src/cpu/o3/fu_pool.cc (Diff revision 2) -
Is the bitwise and intended? It shouldn't matter though.
Review request changed
Updated (June 4, 2013, 6:49 p.m.)
Description: |
|
|||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 3 (+19 -10) |
Ship It!
