Skip to content

Commit

Permalink
cpu-o3: fix pendingEvents wakeup (#310)
Browse files Browse the repository at this point in the history
Change-Id: I43752e99026ce2e250f460bd78fcb6591bdacd98
  • Loading branch information
happy-lx authored Mar 4, 2025
1 parent c650e42 commit 2fa396a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpu/o3/issue_queue.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1019,7 +1019,7 @@ Scheduler::loadCancel(const DynInstPtr& inst)
dfs.pop();
// clear pending wake events scheduled by top
auto& pendingEvents = specWakeEvents[top->seqNum];
for (auto it = pendingEvents.begin(); it != pendingEvents.end();) {
for (auto it = pendingEvents.begin(); it != pendingEvents.end(); it++) {
cpu->deschedule(*it);
}
specWakeEvents.erase(top->seqNum);
Expand Down

0 comments on commit 2fa396a

Please sign in to comment.