base: Add XOR-based hashed address interleaving
authorAndreas Hansson <andreas.hansson@arm.com>
Tue, 3 Feb 2015 19:25:54 +0000 (14:25 -0500)
committerAndreas Hansson <andreas.hansson@arm.com>
Tue, 3 Feb 2015 19:25:54 +0000 (14:25 -0500)
commitccb512ecc1b4224ef68f5cb76f59c3fd36a59c63
treeef9310852ce4cd0f2627860cbad569c46360262a
parent5ea60a95b3d87fac6723678e07822aed512f966e
base: Add XOR-based hashed address interleaving

This patch extends the current address interleaving with basic hashing
support. Instead of directly comparing a number of address bits with a
matching value, it is now possible to use two independent set of
address bits XOR'ed together. This avoids issues where strided address
patterns are heavily biased to a subset of the interleaved ranges.
src/base/addr_range.hh
src/python/m5/params.py