mem-cache: Use findBlock in FALRU's block access
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Wed, 18 Apr 2018 17:42:15 +0000 (19:42 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Thu, 19 Apr 2018 16:01:46 +0000 (16:01 +0000)
commitb11a6d508c618b33f8626afc6742773cbb293f66
tree73c8ece6e043c9b6300bf60ca93b0b92390ad33e
parent26f6b94584c56ffe23336690ec899c78db517261
mem-cache: Use findBlock in FALRU's block access

An access must perform a block search, which is done by findBlock.

The tagHash is indexed by tags, so use extractTag instead of re-
implementing its functionality.

Change-Id: Ib5abacbc65cddf0f2d7e4440eb5355b56998a585
Reviewed-on: https://gem5-review.googlesource.com/10082
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/mem/cache/tags/fa_lru.cc