summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorBrian Grayson <b.grayson@samsung.com>2012-03-21 10:34:05 -0500
committerBrian Grayson <b.grayson@samsung.com>2012-03-21 10:34:05 -0500
commit565c1de4a8a139b0bc9e7810635f8cb468b504ed (patch)
tree6e88c727966e3f35826b60e99728c5ada685b7a8 /src/cpu
parent1981ba21cacce730e97f1c92655d1fe078c8aa1a (diff)
downloadgem5-565c1de4a8a139b0bc9e7810635f8cb468b504ed.tar.xz
O3: Fix size of skid buffer between fetch and decode when widths are different
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/o3/decode_impl.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/o3/decode_impl.hh b/src/cpu/o3/decode_impl.hh
index 22b89f4a8..fd8dc834b 100644
--- a/src/cpu/o3/decode_impl.hh
+++ b/src/cpu/o3/decode_impl.hh
@@ -64,7 +64,7 @@ DefaultDecode<Impl>::DefaultDecode(O3CPU *_cpu, DerivO3CPUParams *params)
}
// @todo: Make into a parameter
- skidBufferMax = (fetchToDecodeDelay * params->fetchWidth) + decodeWidth;
+ skidBufferMax = (fetchToDecodeDelay + 1) * params->fetchWidth;
}
template <class Impl>