summaryrefslogtreecommitdiff
path: root/src/cpu/o3/free_list.hh
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2008-02-27 16:48:33 -0500
committerKorey Sewell <ksewell@umich.edu>2008-02-27 16:48:33 -0500
commit34715cc691e217016ccce9bd1383dac9cca7126f (patch)
tree5101e6352f059cca3bac738fcb73eac70c62f48a /src/cpu/o3/free_list.hh
parentfcfc8b8c4ff98d69aa15fba60e723a9a1c4cda42 (diff)
downloadgem5-34715cc691e217016ccce9bd1383dac9cca7126f.tar.xz
Fix offset in removeThread() function so that float registers start freeing up
from the right point (#32 usually) instead of restarting at 0 and double-freeing. Commented out assert line in free_list.hh that will check for when double-free condition goes bad. --HG-- extra : convert_revision : 08d5f9b6a874736e487d101e85c22aaa67bf59ae
Diffstat (limited to 'src/cpu/o3/free_list.hh')
-rw-r--r--src/cpu/o3/free_list.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/o3/free_list.hh b/src/cpu/o3/free_list.hh
index 42fc0c533..d05068800 100644
--- a/src/cpu/o3/free_list.hh
+++ b/src/cpu/o3/free_list.hh
@@ -173,6 +173,8 @@ SimpleFreeList::addReg(PhysRegIndex freed_reg)
#endif
freeFloatRegs.push(freed_reg);
}
+
+ //assert(freeIntRegs.size() <= numPhysicalIntRegs);
}
inline void