summaryrefslogtreecommitdiff
path: root/src/mem/cache/prefetch/SConscript
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2016-04-12 09:10:13 -0500
committerAndreas Sandberg <andreas.sandberg@arm.com>2019-05-20 13:06:00 +0000
commitb4c472945a6313e1ae1f4ba01477360c372dea6b (patch)
tree50301b52f72f4a79e9e28b48b2a3fd1fe12ee076 /src/mem/cache/prefetch/SConscript
parent526a2fb619f5e5c2c2a7f19498a737571df189b7 (diff)
downloadgem5-b4c472945a6313e1ae1f4ba01477360c372dea6b.tar.xz
mem-cache: Add multi-prefetcher adaptor
This patch adds a meta-prefetcher that enables gem5's cache models to connect to multiple prefetchers. Sub-prefetchers still use the probes-based interface and training can be controlled independently. However, when the cache requests a prefetch packet, the adaptor traverses the priority list of prefetchers and uses the first prefetcher that is able to generate a prefetch. Kudos to Mitch Hayenga for the original version of this patch. Change-Id: I25569a834997e5404c7183ec995d212912c5dcdf Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18868 Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br> Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com> Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/mem/cache/prefetch/SConscript')
-rw-r--r--src/mem/cache/prefetch/SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mem/cache/prefetch/SConscript b/src/mem/cache/prefetch/SConscript
index 0dae74e27..312dc2d1a 100644
--- a/src/mem/cache/prefetch/SConscript
+++ b/src/mem/cache/prefetch/SConscript
@@ -34,6 +34,7 @@ SimObject('Prefetcher.py')
Source('access_map_pattern_matching.cc')
Source('base.cc')
+Source('multi.cc')
Source('bop.cc')
Source('delta_correlating_prediction_tables.cc')
Source('irregular_stream_buffer.cc')