From 67e45b872a0bd268e3ce4158c25c6f27e8b0d42e Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 11 Nov 2018 11:55:37 +0100 Subject: mem-cache: Cleanup prefetchers Prefetcher code had extra variables, dependencies that could be removed, code duplication, and missing overrides. Change-Id: I6e9fbf67a0bdab7eb591893039e088261f52d31a Signed-off-by: Daniel Reviewed-on: https://gem5-review.googlesource.com/c/14355 Reviewed-by: Nikos Nikoleris Maintainer: Nikos Nikoleris --- src/mem/cache/prefetch/stride.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/mem/cache/prefetch/stride.cc') diff --git a/src/mem/cache/prefetch/stride.cc b/src/mem/cache/prefetch/stride.cc index efe982af2..3cea78ed7 100644 --- a/src/mem/cache/prefetch/stride.cc +++ b/src/mem/cache/prefetch/stride.cc @@ -69,9 +69,6 @@ StridePrefetcher::StridePrefetcher(const StridePrefetcherParams *p) degree(p->degree), pcTable(pcTableAssoc, pcTableSets, name()) { - // Don't consult stride prefetcher on instruction accesses - onInst = false; - assert(isPowerOf2(pcTableSets)); } -- cgit v1.2.3