projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge ktlim@zamp:/z/ktlim2/clean/m5-o3
[gem5.git]
/
src
/
cpu
/
o3
/
rename_impl.hh
diff --git
a/src/cpu/o3/rename_impl.hh
b/src/cpu/o3/rename_impl.hh
index 9cbe1a770c9e59a479931ccc93843eef24c1c678..8e70c90f7dd25e7a966d64e2b054d0085852d009 100644
(file)
--- a/
src/cpu/o3/rename_impl.hh
+++ b/
src/cpu/o3/rename_impl.hh
@@
-260,6
+260,7
@@
template <class Impl>
void
DefaultRename<Impl>::switchOut()
{
void
DefaultRename<Impl>::switchOut()
{
+ // Rename is ready to switch out at any time.
cpu->signalSwitched();
}
cpu->signalSwitched();
}
@@
-267,6
+268,7
@@
template <class Impl>
void
DefaultRename<Impl>::doSwitchOut()
{
void
DefaultRename<Impl>::doSwitchOut()
{
+ // Clear any state, fix up the rename map.
for (int i = 0; i < numThreads; i++) {
typename list<RenameHistory>::iterator hb_it = historyBuffer[i].begin();
for (int i = 0; i < numThreads; i++) {
typename list<RenameHistory>::iterator hb_it = historyBuffer[i].begin();