mem-cache: Fix set and way of sub-entries
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Tue, 30 Jul 2019 07:41:14 +0000 (09:41 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Wed, 31 Jul 2019 08:21:52 +0000 (08:21 +0000)
commitafc30c07f598a8dd45ea4bc458f89d3485c50025
treef0dc1b28fca8668f9bd7a15de53012684b8d0372
parent55580e6a8810e9d31b01a2efdf58b13d09f30f58
mem-cache: Fix set and way of sub-entries

Set and way of sub-entries were not being set previously.
They must be set after the sub-blocks have been assigned
to the main block.

Change-Id: I7b6921b8437b29c472d691cd78cf20f2bb6c7e07
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19669
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/replacement_policies/replaceable_entry.hh
src/mem/cache/tags/compressed_tags.cc
src/mem/cache/tags/sector_blk.cc
src/mem/cache/tags/sector_blk.hh
src/mem/cache/tags/sector_tags.cc