mem-cache: Fix BDI size calculation
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Thu, 1 Aug 2019 08:21:15 +0000 (10:21 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Thu, 12 Sep 2019 19:40:58 +0000 (19:40 +0000)
commit8f0efe340bcac14b45f6f781c068f67811b3c273
tree174319520093336b7bd565bef0cf8869fe148e1a
parent28c8fa04540837f25f7f8cf6d924c177176b8962
mem-cache: Fix BDI size calculation

The bitmask field indicates to which base a delta refers, and in
the original paper it is fixed and proportional to the highest
number of bases allowed in the compressed data.

Change-Id: I271bf2e19e0765de52b933eaf6d4fcc2ce25d185
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19748
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/bdi.cc