mem-ruby: Remove maskHighOrderBits
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Sat, 7 Sep 2019 08:55:45 +0000 (10:55 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Mon, 30 Sep 2019 20:58:46 +0000 (20:58 +0000)
commit7ccf70a12196d7df31668166b0a3aa67a1106f61
tree7cad817e2f2ce3ac9bf89135e3072d09036e1dcb
parent0219c49bdfab09c31ebae31669f0c1e65d525af6
mem-ruby: Remove maskHighOrderBits

Function was not being used. If needed, src/base/bitfield.hh's
mbits can be used instead:

maskHighOrderBits(addr, pos) == mbits<Addr>(addr, 64-pos, 0)

Change-Id: I3abd041f8d256ec157ba7502182d8588721c2a05
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21082
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/ruby/common/Address.cc
src/mem/ruby/common/Address.hh