summaryrefslogtreecommitdiff
path: root/src/mem/cache/prefetch
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2006-12-02 22:22:58 -0800
committerSteve Reinhardt <stever@eecs.umich.edu>2006-12-02 22:22:58 -0800
commit6f94c3c8d755d1cdd3854fde5741305afcd44b19 (patch)
tree61fb04c9072ed39cd68eeacde3445cb1466f48b4 /src/mem/cache/prefetch
parentd2a71f6b2aaad36c6420204266f006304d364ad7 (diff)
downloadgem5-6f94c3c8d755d1cdd3854fde5741305afcd44b19.tar.xz
Make cache compression policy a runtime virtual thing
instead of a template policy. --HG-- extra : convert_revision : 6a4ac7a189a950390a973fdfce94f56190de92db
Diffstat (limited to 'src/mem/cache/prefetch')
-rw-r--r--src/mem/cache/prefetch/ghb_prefetcher.cc6
-rw-r--r--src/mem/cache/prefetch/stride_prefetcher.cc6
2 files changed, 4 insertions, 8 deletions
diff --git a/src/mem/cache/prefetch/ghb_prefetcher.cc b/src/mem/cache/prefetch/ghb_prefetcher.cc
index 247ec6e8b..dd1b8aee4 100644
--- a/src/mem/cache/prefetch/ghb_prefetcher.cc
+++ b/src/mem/cache/prefetch/ghb_prefetcher.cc
@@ -38,8 +38,6 @@
#include "mem/cache/tags/lru.hh"
-#include "base/compression/null_compression.hh"
-
#include "mem/cache/miss/miss_queue.hh"
#include "mem/cache/miss/blocking_buffer.hh"
@@ -48,7 +46,7 @@
// Template Instantiations
#ifndef DOXYGEN_SHOULD_SKIP_THIS
-template class GHBPrefetcher<CacheTags<LRU,NullCompression>, MissQueue>;
-template class GHBPrefetcher<CacheTags<LRU,NullCompression>, BlockingBuffer>;
+template class GHBPrefetcher<CacheTags<LRU>, MissQueue>;
+template class GHBPrefetcher<CacheTags<LRU>, BlockingBuffer>;
#endif //DOXYGEN_SHOULD_SKIP_THIS
diff --git a/src/mem/cache/prefetch/stride_prefetcher.cc b/src/mem/cache/prefetch/stride_prefetcher.cc
index 93a096468..c3b428dab 100644
--- a/src/mem/cache/prefetch/stride_prefetcher.cc
+++ b/src/mem/cache/prefetch/stride_prefetcher.cc
@@ -38,8 +38,6 @@
#include "mem/cache/tags/lru.hh"
-#include "base/compression/null_compression.hh"
-
#include "mem/cache/miss/miss_queue.hh"
#include "mem/cache/miss/blocking_buffer.hh"
@@ -48,7 +46,7 @@
// Template Instantiations
#ifndef DOXYGEN_SHOULD_SKIP_THIS
-template class StridePrefetcher<CacheTags<LRU,NullCompression>, MissQueue>;
-template class StridePrefetcher<CacheTags<LRU,NullCompression>, BlockingBuffer>;
+template class StridePrefetcher<CacheTags<LRU>, MissQueue>;
+template class StridePrefetcher<CacheTags<LRU>, BlockingBuffer>;
#endif //DOXYGEN_SHOULD_SKIP_THIS