mem: Make blkAlign a common function between all tag classes
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Mon, 31 Oct 2016 12:02:24 +0000 (12:02 +0000)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Fri, 3 Mar 2017 14:09:42 +0000 (14:09 +0000)
commit83cabc6264d7aac752e6f1bf8acc7b7b042afa50
treed0029d968f67521f61e4d3b0ae61d359e372b30e
parentce2a0076c962a902f34442010f4373f7347a0156
mem: Make blkAlign a common function between all tag classes

blkAlign was defined as a separate function in the base associative
and fully-associative tags classes although both functions implemented
identical functionality. This patch moves the blkAlign in the base
tags class.

Change-Id: I3d415d0e62bddeec7ce0d559667e40a8c5fdc2d4
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Andreas Hansson <andreas.hansson@arm.com>
src/mem/cache/tags/base.cc
src/mem/cache/tags/base.hh
src/mem/cache/tags/base_set_assoc.cc
src/mem/cache/tags/base_set_assoc.hh
src/mem/cache/tags/fa_lru.hh