Skip to content

Commit

Permalink
cpu-o3: using writebuffer regCache (#236)
Browse files Browse the repository at this point in the history
Change-Id: I4e8d600c191ab74e54f19776f48c098d6df9450a
  • Loading branch information
tastynoob authored Dec 18, 2024
1 parent 49d42c1 commit 4fcebbd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cpu/o3/issue_queue.cc
Original file line number Diff line number Diff line change
Expand Up @@ -928,8 +928,6 @@ Scheduler::useRegfilePort(const DynInstPtr& inst, const PhysRegIdPtr& regid, int
if (regCache.contains(regid->flatIndex())) {
regCache.get(regid->flatIndex());
return;
} else {
regCache.insert(regid->flatIndex(), {});
}
}
assert(typePortId < rfPortOccupancy.size());
Expand Down Expand Up @@ -1016,6 +1014,7 @@ Scheduler::writebackWakeup(const DynInstPtr& inst)
continue;
}
scoreboard[dst->flatIndex()] = true;
regCache.insert(dst->flatIndex(), {});
}
for (auto it : issueQues) {
it->wakeUpDependents(inst, false);
Expand Down

0 comments on commit 4fcebbd

Please sign in to comment.