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.
Signed-off-by: Andreas Sandberg <firstname.lastname@example.org>
Reviewed-by: Nikos Nikoleris <email@example.com>
Reviewed-by: Daniel Carvalho <firstname.lastname@example.org>
Maintainer: Nikos Nikoleris <email@example.com>
Tested-by: kokoro <firstname.lastname@example.org>
5 files changed