base: Add XOR and modulo operator to ChannelAddr
authorDavid Schall <david.schall2@arm.com>
Thu, 18 Jun 2020 15:14:44 +0000 (16:14 +0100)
committerCiro Santilli <ciro.santilli@arm.com>
Tue, 9 Feb 2021 12:39:28 +0000 (12:39 +0000)
commitf7e0115882321a5d63450aa6d1354c1de04afca9
tree38dcfff103d38f45758e0af1bc1f4a9fc54c95a7
parent6e976fbb4b6f38dc06877f25d4b2b47de90a307b
base: Add XOR and modulo operator to ChannelAddr

Channel address class did not offer bitwise
XOR and modulo operation. These two functions
where now added to the ChannelAddr class.

Change-Id: I02a5e49e9700cc5283415c921a25989a130e5d07
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Ciro Santilli <ciro.santilli@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/39235
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/base/channel_addr.hh