diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-07-10 15:40:28 -0400 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-07-10 15:40:28 -0400 |
commit | fcaafdc48cc624825760cb3ba7bbc28e5db6acfa (patch) | |
tree | 16095d7881217cc548d873ab0e63d89f6a95d87c /src/cpu/o3/iew_impl.hh | |
parent | 43245d9c2f3986430c1fbc4a09ee90096f6d3f30 (diff) | |
download | gem5-fcaafdc48cc624825760cb3ba7bbc28e5db6acfa.tar.xz |
Add parameters for backwards and forwards sizes for time buffers.
src/base/timebuf.hh:
Add a function to return the size of the time buffer.
--HG--
extra : convert_revision : 8ffacd8b9013eb76264df065244e00dc1460efd4
Diffstat (limited to 'src/cpu/o3/iew_impl.hh')
-rw-r--r-- | src/cpu/o3/iew_impl.hh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cpu/o3/iew_impl.hh b/src/cpu/o3/iew_impl.hh index 0d82645e3..684ae2295 100644 --- a/src/cpu/o3/iew_impl.hh +++ b/src/cpu/o3/iew_impl.hh @@ -42,8 +42,7 @@ using namespace std; template<class Impl> DefaultIEW<Impl>::DefaultIEW(Params *params) - : // @todo: Make this into a parameter. - issueToExecQueue(5, 5), + : issueToExecQueue(params->backComSize, params->forwardComSize), instQueue(params), ldstQueue(params), fuPool(params->fuPool), @@ -413,7 +412,7 @@ DefaultIEW<Impl>::takeOverFrom() updateLSQNextCycle = false; // @todo: Fix hardcoded number - for (int i = 0; i < 6; ++i) { + for (int i = 0; i < issueToExecQueue.getSize(); ++i) { issueToExecQueue.advance(); } } |