-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.gem5.org/r/2696/
-----------------------------------------------------------

Review request for Default.


Repository: gem5


Description
-------

Changeset 10753:b13401f09db4
---------------------------
mem: Support any number of master-IDs in stride prefetcher

The stride prefetcher had a hardcoded number of contexts (i.e. master-IDs)
that it could handle. Since master IDs need to be unique per system, and
every core, cache etc. requires a separate master port, a static limit on
these does not make much sense.

Instead, this patch adds a small hash map that will map all master IDs to
the right prefetch state and dynamically allocates new state for new master
IDs.


Diffs
-----

  src/mem/cache/prefetch/stride.hh 655ff3f6352d 
  src/mem/cache/prefetch/stride.cc 655ff3f6352d 

Diff: http://reviews.gem5.org/r/2696/diff/


Testing
-------


Thanks,

Andreas Hansson

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

Reply via email to