summaryrefslogtreecommitdiff
path: root/src/python/pybind11/core.cc
diff options
context:
space:
mode:
authorNikos Nikoleris <nikos.nikoleris@arm.com>2019-05-26 23:33:48 +0100
committerNikos Nikoleris <nikos.nikoleris@arm.com>2019-06-10 17:36:55 +0000
commitc1b7a40893e4b8f4601a5d8d449dd08ec59c0b2b (patch)
tree5e376b6b937343529ffd3e11061cbca7b50d30a6 /src/python/pybind11/core.cc
parent61865650cdadccb54b6001554c9b3cb1aa3e6665 (diff)
downloadgem5-c1b7a40893e4b8f4601a5d8d449dd08ec59c0b2b.tar.xz
base: Extend AddrRange to support more flexible addressing
Previously an AddrRange could express interleaving using a number of consecutive bits and in additional optionally a second number of consecutive bits. The two sets of consecutive bits would be xored and matched against a value to determine if an address is in the AddrRange. For example: sel[0] = a[8] ^ a[12] sel[1] = a[9] ^ a[13] where sel == intlvMatch This change extends AddrRange to allow more flexible interleavings with an abritary number of set of bits which do not need be consecutive. For example: sel[0] = a[8] ^ a[11] ^ a[13] sel[1] = a[15] ^ a[17] ^ a[19] where sel == intlvMatch Change-Id: I42220a6d5011a31f0560535762a25bfc823c3ebb Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19130 Maintainer: Jason Lowe-Power <jason@lowepower.com> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Diffstat (limited to 'src/python/pybind11/core.cc')
-rw-r--r--src/python/pybind11/core.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/python/pybind11/core.cc b/src/python/pybind11/core.cc
index 57fcb94cb..fad7a7daa 100644
--- a/src/python/pybind11/core.cc
+++ b/src/python/pybind11/core.cc
@@ -154,7 +154,6 @@ init_range(py::module &m_native)
.def("__str__", &AddrRange::to_string)
.def("interleaved", &AddrRange::interleaved)
- .def("hashed", &AddrRange::hashed)
.def("granularity", &AddrRange::granularity)
.def("stripes", &AddrRange::stripes)
.def("size", &AddrRange::size)