From e404dddca9715e4d0098830783ca3f6fca86f35b Mon Sep 17 00:00:00 2001 From: "Daniel R. Carvalho" Date: Tue, 17 Apr 2018 15:46:14 +0200 Subject: mem-cache: Privatize extractSet Only BaseSetAssoc uses extractSet(). Besides, skewed caches need the way information to know which set an address is located at. Change-Id: Id222e907dc550d053018561bb2683cfc415471ec Reviewed-on: https://gem5-review.googlesource.com/9962 Reviewed-by: Nikos Nikoleris Maintainer: Nikos Nikoleris --- src/mem/cache/tags/fa_lru.hh | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/mem/cache/tags/fa_lru.hh') diff --git a/src/mem/cache/tags/fa_lru.hh b/src/mem/cache/tags/fa_lru.hh index e063a6ca1..dbb39b7d1 100644 --- a/src/mem/cache/tags/fa_lru.hh +++ b/src/mem/cache/tags/fa_lru.hh @@ -220,16 +220,6 @@ class FALRU : public BaseTags return blkAlign(addr); } - /** - * Return the set of an address. Only one set in a fully associative cache. - * @param addr The address to get the set from. - * @return 0. - */ - int extractSet(Addr addr) const override - { - return 0; - } - /** * Regenerate the block address from the tag. * -- cgit v1.2.3