Fix bug when blocking due to no free registers.
authorKevin Lim <ktlim@umich.edu>
Mon, 9 Apr 2007 18:29:59 +0000 (14:29 -0400)
committerKevin Lim <ktlim@umich.edu>
Mon, 9 Apr 2007 18:29:59 +0000 (14:29 -0400)
--HG--
extra : convert_revision : a1a218d3294515184689041487057495223360b7

src/cpu/o3/rename_impl.hh

index c0d34116d0512e5c1e5c9978505dddbb4515c8ea..ec630b31e54833a23bb3ff4146ab192415ac619c 100644 (file)
@@ -692,7 +692,7 @@ DefaultRename<Impl>::renameInsts(unsigned tid)
             DPRINTF(Rename, "Blocking due to lack of free "
                     "physical registers to rename to.\n");
             blockThisCycle = true;
-
+            insts_to_rename.push_front(inst);
             ++renameFullRegistersEvents;
 
             break;