mem-cache: Fix invalidation of prefetchers
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Sat, 18 Jan 2020 15:19:53 +0000 (16:19 +0100)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Tue, 21 Jan 2020 08:07:05 +0000 (08:07 +0000)
commit519808c02f2d5d780bf09589d2e29803a5af1ade
treefd72cd991a2fbedf883fde2ceefc2f8bfc0fe009
parent7ac4607385f8490b2a12acaef73f2f31583160f0
mem-cache: Fix invalidation of prefetchers

Add an invalidation function to the AssociativeSet, so that entries
can be properly invalidated by also invalidating their replacement
data.

Both setInvalid and reset have been merged into invalidate to
indicate users that they are using an incorrect approach by
generating compilation errors, and to match CacheBlk's naming
convention.

Change-Id: I568076a3b5adda8b1311d9498b086c0dab457a14
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/24529
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/cache/prefetch/access_map_pattern_matching.hh
src/mem/cache/prefetch/associative_set.hh
src/mem/cache/prefetch/associative_set_impl.hh
src/mem/cache/prefetch/delta_correlating_prediction_tables.cc
src/mem/cache/prefetch/delta_correlating_prediction_tables.hh
src/mem/cache/prefetch/indirect_memory.cc
src/mem/cache/prefetch/indirect_memory.hh
src/mem/cache/prefetch/irregular_stream_buffer.hh
src/mem/cache/prefetch/signature_path.hh
src/mem/cache/prefetch/spatio_temporal_memory_streaming.cc
src/mem/cache/prefetch/spatio_temporal_memory_streaming.hh