diff options
author | Daniel R. Carvalho <odanrc@yahoo.com.br> | 2019-07-15 16:21:24 +0200 |
---|---|---|
committer | Daniel Carvalho <odanrc@yahoo.com.br> | 2019-10-29 21:32:02 +0000 |
commit | 7ce9fe0af9f04a6f94bec9542af025a043c46b35 (patch) | |
tree | 39ee68ae2ad98e3bf1d419686c5721d2715c5adf /src/mem/cache/compressors/SConscript | |
parent | 70dc35a659d024a4362c7b3f08887f04285b34f9 (diff) | |
download | gem5-7ce9fe0af9f04a6f94bec9542af025a043c46b35.tar.xz |
mem-cache: Factor out CPack's dictionary functionality
Factor out dictionary functionality of CPack, so that it can be
used easily for other compressors.
As a side effect, create an addToDictionary function to allow
subclasses to chose how to handle insertion.
Change-Id: I02fae4e98b02db5a40467ec470b71020d5e867cb
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21147
Tested-by: kokoro <noreply+kokoro@google.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Diffstat (limited to 'src/mem/cache/compressors/SConscript')
-rw-r--r-- | src/mem/cache/compressors/SConscript | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mem/cache/compressors/SConscript b/src/mem/cache/compressors/SConscript index 0b3ba6451..68cf7ef10 100644 --- a/src/mem/cache/compressors/SConscript +++ b/src/mem/cache/compressors/SConscript @@ -35,3 +35,4 @@ SimObject('Compressors.py') Source('base.cc') Source('bdi.cc') Source('cpack.cc') +Source('dictionary_compressor.cc') |