Merge ktlim@zamp:/z/ktlim2/clean/m5-o3
[gem5.git] / src / cpu / o3 / rename_impl.hh
index 9cbe1a770c9e59a479931ccc93843eef24c1c678..8e70c90f7dd25e7a966d64e2b054d0085852d009 100644 (file)
@@ -260,6 +260,7 @@ template <class Impl>
 void
 DefaultRename<Impl>::switchOut()
 {
+    // Rename is ready to switch out at any time.
     cpu->signalSwitched();
 }
 
@@ -267,6 +268,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();