mem-cache: Store BDI's encoding in tags
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Tue, 16 Jun 2020 14:18:02 +0000 (16:18 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Mon, 31 Aug 2020 17:45:43 +0000 (17:45 +0000)
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 <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33381
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/Compressors.py

index f7e8a7d8c11c3c2fa612b383e538d5bb3525da8d..45effe905c387579dfc55a4ceaf1591ae1d058e2 100644 (file)
@@ -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()]