summaryrefslogtreecommitdiff
path: root/src/mem/cache/tags/base_set_assoc.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/cache/tags/base_set_assoc.hh')
-rw-r--r--src/mem/cache/tags/base_set_assoc.hh12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mem/cache/tags/base_set_assoc.hh b/src/mem/cache/tags/base_set_assoc.hh
index 8e3aab741..4049b8486 100644
--- a/src/mem/cache/tags/base_set_assoc.hh
+++ b/src/mem/cache/tags/base_set_assoc.hh
@@ -106,8 +106,6 @@ class BaseSetAssoc : public BaseTags
int tagShift;
/** Mask out all bits that aren't part of the set index. */
unsigned setMask;
- /** Mask out all bits that aren't part of the block offset. */
- unsigned blkMask;
public:
@@ -322,16 +320,6 @@ public:
}
/**
- * Align an address to the block size.
- * @param addr the address to align.
- * @return The block address.
- */
- Addr blkAlign(Addr addr) const
- {
- return (addr & ~(Addr)blkMask);
- }
-
- /**
* Regenerate the block address from the tag.
* @param tag The tag of the block.
* @param set The set of the block.