> On April 29, 2015, 3:43 p.m., Steve Reinhardt wrote:
> > Thanks!
> > 
> > Wouldn't it make sense to move the CacheBlkVisitor base class to cache.hh 
> > too?  Whether you make that change or not, go ahead and ship it... no need 
> > for another reviewboard round-trip.
> 
> Andreas Hansson wrote:
>     I left it there since forEachBlk in the CacheBlk needs to be aware of it.

I see... since tags/base.hh includes cache/blk.hh but not cache/cache.hh, 
right?  Makes sense now, but not obvious :).


- Steve


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


On April 29, 2015, 2:13 p.m., Andreas Hansson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviews.gem5.org/r/2711/
> -----------------------------------------------------------
> 
> (Updated April 29, 2015, 2:13 p.m.)
> 
> 
> Review request for Default.
> 
> 
> Repository: gem5
> 
> 
> Description
> -------
> 
> Changeset 10805:b0ddc3bf1211
> ---------------------------
> mem: Remove templates in cache model
> 
> This patch changes the cache implementation to rely on virtual methods
> rather than using the replacement policy as a template argument.
> 
> There is no impact on the simulation performance, and overall the
> changes make it easier to modify (and subclass) the cache and/or
> replacement policy.
> 
> 
> Diffs
> -----
> 
>   src/mem/cache/base.cc df2aa91dba5b 
>   src/mem/cache/blk.hh df2aa91dba5b 
>   src/mem/cache/cache.hh df2aa91dba5b 
>   src/mem/cache/cache.cc df2aa91dba5b 
>   src/mem/cache/tags/random_repl.cc df2aa91dba5b 
>   src/mem/cache/tags/base_set_assoc.hh df2aa91dba5b 
>   src/mem/cache/tags/base_set_assoc.cc df2aa91dba5b 
>   src/mem/cache/tags/fa_lru.hh df2aa91dba5b 
>   src/mem/cache/tags/fa_lru.cc df2aa91dba5b 
>   src/mem/cache/tags/lru.hh df2aa91dba5b 
>   src/mem/cache/tags/lru.cc df2aa91dba5b 
>   src/mem/cache/tags/random_repl.hh df2aa91dba5b 
>   src/mem/cache/cache_impl.hh df2aa91dba5b 
>   src/mem/cache/tags/base.hh df2aa91dba5b 
> 
> Diff: http://reviews.gem5.org/r/2711/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Andreas Hansson
> 
>

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

Reply via email to