mem-cache: Use shouldAllocate() instead of CPack's decompress()
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Tue, 16 Jul 2019 08:51:08 +0000 (10:51 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Tue, 29 Oct 2019 21:32:02 +0000 (21:32 +0000)
commit70dc35a659d024a4362c7b3f08887f04285b34f9
tree234316b9645ca0642f6ed0d2133c36c6a4640701
parentb42971dabdfa0467911c7d320a08398411bf2a34
mem-cache: Use shouldAllocate() instead of CPack's decompress()

Split decompression functionality using the proper function to
determine if a dictionary entry should be allocated after
decompression or not.

Change-Id: I4995304f4c4508c03c9fc1685f04511622969556
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21146
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/compressors/cpack.cc
src/mem/cache/compressors/cpack.hh