On Fri, 21 Sep 2012, Andreas Hansson wrote:



On Sept. 21, 2012, 9:17 a.m., Nilay Vaish wrote:
src/base/addr_range.hh, line 134
<http://reviews.gem5.org/r/1429/diff/1/?file=29812#file29812line134>

    Why do we need to do this? How many characters are we saving any way?

The operators are important with the addition of striping. The whole idea is to hide all the checking for interleaving and matching inside the AddrRange and never use the start and end outside of this class. I hope that explains it.


I meant why we need to use the operator==() for doing all this checking. We can create a new function that does this checking.

--
Nilay
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to