summaryrefslogtreecommitdiff
path: root/cpu/beta_cpu/free_list.hh
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/beta_cpu/free_list.hh')
-rw-r--r--cpu/beta_cpu/free_list.hh8
1 files changed, 1 insertions, 7 deletions
diff --git a/cpu/beta_cpu/free_list.hh b/cpu/beta_cpu/free_list.hh
index 0d2b2c421..e8e75f7ec 100644
--- a/cpu/beta_cpu/free_list.hh
+++ b/cpu/beta_cpu/free_list.hh
@@ -6,11 +6,9 @@
#include "arch/alpha/isa_traits.hh"
#include "cpu/beta_cpu/comm.hh"
+#include "base/traceflags.hh"
#include "base/trace.hh"
-// Question: Do I even need the number of logical registers?
-// How to avoid freeing registers instantly? Same with ROB entries.
-
/**
* FreeList class that simply holds the list of free integer and floating
* point registers. Can request for a free register of either type, and
@@ -153,8 +151,6 @@ SimpleFreeList::addIntReg(PhysRegIndex freed_reg)
assert(!freeIntRegsScoreboard[freed_reg]);
freeIntRegsScoreboard[freed_reg] = 1;
- //Might want to add in a check for whether or not this register is
- //already in there. A bit vector or something similar would be useful.
freeIntRegs.push(freed_reg);
}
@@ -167,8 +163,6 @@ SimpleFreeList::addFloatReg(PhysRegIndex freed_reg)
assert(!freeFloatRegsScoreboard[freed_reg]);
freeFloatRegsScoreboard[freed_reg] = 1;
- //Might want to add in a check for whether or not this register is
- //already in there. A bit vector or something similar would be useful.
freeFloatRegs.push(freed_reg);
}