summaryrefslogtreecommitdiff
path: root/src/cpu/o3/iew.hh
diff options
context:
space:
mode:
authorGeoffrey Blake <geoffrey.blake@arm.com>2011-05-23 10:40:19 -0500
committerGeoffrey Blake <geoffrey.blake@arm.com>2011-05-23 10:40:19 -0500
commitc223b887fe6e40bc044f0bd8e032b5ab0a366c9d (patch)
tree72b292b0e86d7234ab1dd62d408a29ac4070904a /src/cpu/o3/iew.hh
parent6dd996aabbfcd6c519e70ded3b54e44159deb685 (diff)
downloadgem5-c223b887fe6e40bc044f0bd8e032b5ab0a366c9d.tar.xz
O3: Fix issue w/wbOutstading being decremented multiple times on blocked cache.
If a split load fails on a blocked cache wbOutstanding can be decremented twice if the first part of the split load succeeds and the second part fails. Condition the decrementing on not having completed the first part of the load.
Diffstat (limited to 'src/cpu/o3/iew.hh')
-rw-r--r--src/cpu/o3/iew.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/o3/iew.hh b/src/cpu/o3/iew.hh
index 8ebbfb2e6..113d0756e 100644
--- a/src/cpu/o3/iew.hh
+++ b/src/cpu/o3/iew.hh
@@ -228,7 +228,7 @@ class DefaultIEW
{
if (++wbOutstanding == wbMax)
ableToIssue = false;
- DPRINTF(IEW, "wbOutstanding: %i\n", wbOutstanding);
+ DPRINTF(IEW, "wbOutstanding: %i [sn:%lli]\n", wbOutstanding, sn);
assert(wbOutstanding <= wbMax);
#ifdef DEBUG
wbList.insert(sn);