mem-cache: Templatize DictionaryCompressor
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Thu, 5 Sep 2019 15:39:38 +0000 (17:39 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Tue, 29 Oct 2019 21:32:02 +0000 (21:32 +0000)
commit7a8debf0fa391a5e34fd1f47a4d1ae7ad6e3028d
tree2c17f2565bb8bd1114e9362265c5c3461d67020e
parent7ce9fe0af9f04a6f94bec9542af025a043c46b35
mem-cache: Templatize DictionaryCompressor

Templatize DictionaryCompressor so that the dictionary entries' sizes
can be changed.

Change-Id: I3d89e3c692a721cefcd7e3c55d2ccdefa425f614
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21148
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/compressors/Compressors.py
src/mem/cache/compressors/SConscript
src/mem/cache/compressors/base_dictionary_compressor.cc [new file with mode: 0644]
src/mem/cache/compressors/cpack.cc
src/mem/cache/compressors/cpack.hh
src/mem/cache/compressors/dictionary_compressor.cc [deleted file]
src/mem/cache/compressors/dictionary_compressor.hh
src/mem/cache/compressors/dictionary_compressor_impl.hh [new file with mode: 0644]