mem-cache: Make PCTable context independent
authorDaniel <odanrc@yahoo.com.br>
Sun, 11 Nov 2018 15:11:40 +0000 (16:11 +0100)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Thu, 15 Nov 2018 16:53:07 +0000 (16:53 +0000)
commit2b619afba17e8aaac90d105e691bd901aff10994
treed4c6bc48972fd54c430f9733b1fb2ae77b547a1c
parent3a3e172b02c108196302a027307eab41626f4d69
mem-cache: Make PCTable context independent

Move the unordered_map outside of the PCTable, as it
belongs to the StridePrefetcher. By doing so we are
moving towards a table that ressembles the ones of
the Tags classes.

Some functions have been moved from the prefetcher to
the PCTable, as they didn't belong there. As such, they
have been renamed to remove the unnecessary prefix.

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