From: Daniel R. Carvalho Date: Tue, 16 Jun 2020 14:18:02 +0000 (+0200) Subject: mem-cache: Store BDI's encoding in tags X-Git-Tag: v20.1.0.0~185 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=99a8c5a27a2043ea88e462c96472e7f1d3e0ffbe;p=gem5.git mem-cache: Store BDI's encoding in tags According to the original paper the compressors' encodings are stored in the tag-store (Storage cost analysis section). Change-Id: I4c34f86022eea6d1ba0ae29dd74d5714bbad367a Signed-off-by: Daniel R. Carvalho Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33381 Reviewed-by: Nikos Nikoleris Maintainer: Nikos Nikoleris Tested-by: kokoro --- diff --git a/src/mem/cache/compressors/Compressors.py b/src/mem/cache/compressors/Compressors.py index f7e8a7d8c..45effe905 100644 --- a/src/mem/cache/compressors/Compressors.py +++ b/src/mem/cache/compressors/Compressors.py @@ -145,6 +145,7 @@ class ZeroCompressor(BaseDictionaryCompressor): chunk_size_bits = 64 class BDI(MultiCompressor): + encoding_in_tags=True compressors = [ZeroCompressor(), RepeatedQwordsCompressor(), Base64Delta8(), Base64Delta16(), Base64Delta32(), Base32Delta8(), Base32Delta16(), Base16Delta8()]