Daniel Carvalho has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/35696 )
Change subject: mem-cache: Add missing StridePrefetcher invalidation
......................................................................
mem-cache: Add missing StridePrefetcher invalidation
A call to the entry's parent's invalidate function was missing.
Since an entry was only invalidated right before being used,
previous behavior was not breaking anything.
Change-Id: Ibbf31a0099600a8f6be70b3426bac9fcd1e5c749
Signed-off-by: Daniel R. Carvalho <[email protected]>
---
M src/mem/cache/prefetch/stride.cc
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/mem/cache/prefetch/stride.cc
b/src/mem/cache/prefetch/stride.cc
index 9b58943..8141af2 100644
--- a/src/mem/cache/prefetch/stride.cc
+++ b/src/mem/cache/prefetch/stride.cc
@@ -68,6 +68,7 @@
void
Stride::StrideEntry::invalidate()
{
+ TaggedEntry::invalidate();
lastAddr = 0;
stride = 0;
confidence.reset();
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/35696
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Ibbf31a0099600a8f6be70b3426bac9fcd1e5c749
Gerrit-Change-Number: 35696
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Carvalho <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s