File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -726,7 +726,7 @@ MBTB::prepareUpdateEntries(const FetchStream &stream) {
726726 // Filter: only keep conditional branches that are not always taken
727727 if (getResolvedUpdate ()) {
728728 auto remove_it = std::remove_if (all_entries.begin (), all_entries.end (),
729- [](const BTBEntry &e) { return !( e.resolved ) ; });
729+ [](const BTBEntry &e) { return !e.resolved ; });
730730 all_entries.erase (remove_it, all_entries.end ());
731731 }
732732
Original file line number Diff line number Diff line change @@ -132,6 +132,10 @@ predictUpdateCycle(MBTB* btb,
132132 btb->getAndSetNewBTBEntry (stream);
133133 }
134134
135+ for (auto &entry : stream.updateBTBEntries ) {
136+ entry.resolved = true ;
137+ }
138+
135139 btb->update (stream);
136140
137141 // Return final predictions after update
You can’t perform that action at this time.
0 commit comments