summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2007-04-09 14:29:59 -0400
committerKevin Lim <ktlim@umich.edu>2007-04-09 14:29:59 -0400
commit0cc343d41dd7afe725728008220fc22633195389 (patch)
treef55f134b5ed14527f16761a272f9260a19fb9d0e /src/cpu
parent077183f7ece6aa7fcb009fb078e2e1a3370f9327 (diff)
downloadgem5-0cc343d41dd7afe725728008220fc22633195389.tar.xz
Fix bug when blocking due to no free registers.
--HG-- extra : convert_revision : a1a218d3294515184689041487057495223360b7
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/o3/rename_impl.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/o3/rename_impl.hh b/src/cpu/o3/rename_impl.hh
index c0d34116d..ec630b31e 100644
--- a/src/cpu/o3/rename_impl.hh
+++ b/src/cpu/o3/rename_impl.hh
@@ -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;