summaryrefslogtreecommitdiff
path: root/src/mem/cache/prefetch/delta_correlating_prediction_tables.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/cache/prefetch/delta_correlating_prediction_tables.cc')
-rw-r--r--src/mem/cache/prefetch/delta_correlating_prediction_tables.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mem/cache/prefetch/delta_correlating_prediction_tables.cc b/src/mem/cache/prefetch/delta_correlating_prediction_tables.cc
index 4dbd596a2..8f7041f2b 100644
--- a/src/mem/cache/prefetch/delta_correlating_prediction_tables.cc
+++ b/src/mem/cache/prefetch/delta_correlating_prediction_tables.cc
@@ -44,8 +44,10 @@ DeltaCorrelatingPredictionTables::DeltaCorrelatingPredictionTables(
}
void
-DeltaCorrelatingPredictionTables::DCPTEntry::reset()
+DeltaCorrelatingPredictionTables::DCPTEntry::invalidate()
{
+ TaggedEntry::invalidate();
+
for (auto &delta : deltas) {
delta = 0;
}