mem-cache: Make StridePrefetcher use Replacement Policies
authorDaniel <odanrc@yahoo.com.br>
Sun, 11 Nov 2018 14:52:08 +0000 (15:52 +0100)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Thu, 15 Nov 2018 16:53:27 +0000 (16:53 +0000)
commit153a33be851190acdec443264c3a1f1dfa44592a
tree4b041f997640f03ae73086628f17475ce46069d2
parentd7a1db5cc44ad9a1bd5742f9fc4ffa5ea2e3b2f4
mem-cache: Make StridePrefetcher use Replacement Policies

Previously StridePrefetcher was only able to use random
replacement policy. This change allows all replacement
policies to be applied to the pc table.

Change-Id: I8714e71a6a4c9c31fbca49a07a456dcacd3e402c
Signed-off-by: Daniel <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/14360
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/prefetch/Prefetcher.py
src/mem/cache/prefetch/stride.cc
src/mem/cache/prefetch/stride.hh