[gem5-dev] Re: ChunkGenerator granularity, interface

2020-09-08 Thread Gabe Black via gem5-dev
Yep, I agree. While the new thing can be inspired by the ChunkGenerator, unless it shares a significant chunk of implementation (not likely, there isn't a ton of code in ChunkGenerator), they don't have to actually be related to each other. I think particularly since in cases like the TLB example,

[gem5-dev] Re: ChunkGenerator granularity, interface

2020-09-08 Thread Steve Reinhardt via gem5-dev
Thanks for the effort, Gabe! I totally agree that making the interface support range-based for loops makes sense. That would be a nice improvement. Having TLBs (or page tables?) support some kind of variable-size chunk loop range object that deals with multiple page sizes, maybe automatically