summaryrefslogtreecommitdiff
path: root/cpu/o3/rename_impl.hh
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-05-31 11:45:02 -0400
committerKevin Lim <ktlim@umich.edu>2006-05-31 11:45:02 -0400
commita514bf21508f4398f5cf7322f5f2a1ed212bbcaa (patch)
treee41f2e45926a5724765f762fe8c4b34e9e4d5c56 /cpu/o3/rename_impl.hh
parent94eff2f4854ce23900bcc3d694ff4c290111bea7 (diff)
downloadgem5-a514bf21508f4398f5cf7322f5f2a1ed212bbcaa.tar.xz
Comments and code cleanup.
cpu/activity.cc: cpu/activity.hh: cpu/o3/alpha_cpu.hh: Updates to include comments. cpu/base_dyn_inst.cc: Remove call to thread->misspeculating(), as it's never actually misspeculating. --HG-- extra : convert_revision : 86574d684770fac9b480475acca048ea418cdac3
Diffstat (limited to 'cpu/o3/rename_impl.hh')
-rw-r--r--cpu/o3/rename_impl.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/o3/rename_impl.hh b/cpu/o3/rename_impl.hh
index b4f1077d1..829c99584 100644
--- a/cpu/o3/rename_impl.hh
+++ b/cpu/o3/rename_impl.hh
@@ -258,6 +258,7 @@ template <class Impl>
void
DefaultRename<Impl>::switchOut()
{
+ // Rename is ready to switch out at any time.
cpu->signalSwitched();
}
@@ -265,6 +266,7 @@ template <class Impl>
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();