mem-cache: Implement a zero compressor
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Thu, 5 Sep 2019 10:00:18 +0000 (12:00 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Mon, 4 Nov 2019 21:32:22 +0000 (21:32 +0000)
commitfcc1964453487e6f9ebf518aa4be6195fb20ba1a
tree58cf02f974f33cefeb051db2eb88d3193ee2db5f
parent93b4845ed20d9d36c4564429e998f1184a47a8e3
mem-cache: Implement a zero compressor

The zero compressor can only compress data composed solely of zero
bits.

Change-Id: I8b359c03776a8748abd144a178bda944b5a1b766
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21155
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
src/mem/cache/compressors/Compressors.py
src/mem/cache/compressors/SConscript
src/mem/cache/compressors/zero.cc [new file with mode: 0644]
src/mem/cache/compressors/zero.hh [new file with mode: 0644]