mem-cache: Add a masked const value pattern to compressors
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Tue, 17 Sep 2019 09:22:28 +0000 (11:22 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Tue, 29 Oct 2019 21:32:02 +0000 (21:32 +0000)
commit2dd82da9b8275fab6235e2e6ff4859978a225db4
tree6941cdd3dfe18d70c25318e0f40835fd5956dde8
parent83219d89de2f55fc40b3744115ad1fab94e85ef3
mem-cache: Add a masked const value pattern to compressors

The masked pattern compares values to masked const non-dictionary values
to determine whether these match. If successful, the bits that do not
match must be added to the compressed data.

Change-Id: I4c53568694dab916136fe384cb2ee10e554f7136
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21151
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/compressors/cpack.hh
src/mem/cache/compressors/dictionary_compressor.hh