inorder: resource scheduling backend

replace priority queue with vector of lists(1 list per stage) and place inside a class
so that we have more control of when an instruction uses a particular schedule entry
...
also, this is the 1st step toward making the InOrderCPU fully parameterizable. See the
wiki for details on this process
This commit is contained in:
Korey Sewell
2010-06-25 17:42:34 -04:00
parent 6697d41693
commit 6bfd766f2c
7 changed files with 300 additions and 59 deletions

View File

@@ -1354,7 +1354,7 @@ InOrderCPU::cleanUpRemovedInsts()
// Make Sure Resource Schedule Is Emptied Out
ThePipeline::ResSchedule *inst_sched = &inst->resSched;
while (!inst_sched->empty()) {
ThePipeline::ScheduleEntry* sch_entry = inst_sched->top();
ScheduleEntry* sch_entry = inst_sched->top();
inst_sched->pop();
delete sch_entry;
}