SnoopFilter: Changing SnoopMask type from uint64_t to std::bitset
Review Request #2916 - Created June 24, 2015 and discarded - Latest diff uploaded
| Information | |
|---|---|
| Chang Hyun Park | |
| gem5 | |
| Reviewers | |
| Default | |
Changing SnoopMask type from
uint64_ttostd::bitsetThis allows the size of the system (core count) to be larger than the current system.
The # of slave ports was 2xcore + 1 for a basicexample/se.pysimulation with--cachesoption.
Thus the maximum core size when using SnoopFilter was 31 due to the 64 bit type.
Bitset allows this to be expanded, allowing the use of SnoopFilter to be used in larger core count systems.TODO: Dynamically allow the build system to specify the
MAX_CORESmacro value.
Testing done on config file
example/se.pywith--caches option.
(Modified code to add theSnoopFilter()into theSystemXBar)
