diff options
author | Daniel R. Carvalho <odanrc@yahoo.com.br> | 2018-03-09 15:16:41 +0100 |
---|---|---|
committer | Daniel Carvalho <odanrc@yahoo.com.br> | 2018-10-10 18:17:42 +0000 |
commit | f32882d4fc78af3747f81375dfd1ec3e37596c2b (patch) | |
tree | 19695aa226b552751fbb672efb95ee6e75819073 /src/mem/port.cc | |
parent | 8f58d9fb87c521674f11c78b8939e5ffdf851d39 (diff) | |
download | gem5-f32882d4fc78af3747f81375dfd1ec3e37596c2b.tar.xz |
mem-cache: Split Tags for indexing policies
Split indexing functionality from tags, so that code duplication
is reduced when adding new classes that use different indexing
policies, such as set associative, skewed associative or other
hash-based policies.
An indexing policy defines the mapping between an address' set
and its physical location. For example, a conventional set assoc
cache maps an address to all ways in a set using an immutable
function, that is, a set x is always mapped to set x. However,
skewed assoc caches map an address to a different set for each way,
using a skewing function.
FALRU has been left unmodified as it is a specialization with its
own complexity.
Change-Id: I0838b41663f21eba0aeab7aeb7839e3703ca3324
Reviewed-on: https://gem5-review.googlesource.com/c/8885
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src/mem/port.cc')
0 files changed, 0 insertions, 0 deletions