projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1981ba2
)
O3: Fix size of skid buffer between fetch and decode when widths are different
author
Brian Grayson
<b.grayson@samsung.com>
Wed, 21 Mar 2012 15:34:05 +0000
(10:34 -0500)
committer
Brian Grayson
<b.grayson@samsung.com>
Wed, 21 Mar 2012 15:34:05 +0000
(10:34 -0500)
src/cpu/o3/decode_impl.hh
patch
|
blob
|
history
diff --git
a/src/cpu/o3/decode_impl.hh
b/src/cpu/o3/decode_impl.hh
index 22b89f4a89a4dd844cc1a60de3035ddf0e65d628..fd8dc834bd557d22411b37e5dd8e032d42bfc0f4 100644
(file)
--- 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) + decode
Width;
+ skidBufferMax = (fetchToDecodeDelay
+ 1) * params->fetch
Width;
}
template <class Impl>