[PTLsim-devel] cache parameters
Jorge Albericio
Wed Aug 29 06:38:00 EDT 2007
Thank you Matt, these are not totally bad news, if we could change the
number of sets at runtime we could send a lot of simulations with
different configurations at the same time without recompiling.
Is there anybody working on caches or prefetches with ptlsim? How do
you do to get results with a big number of cache configurations?
Thank you very much.
Jorge.
2007/8/28, Matt T. Yourst <yourst at peptidal.com>:
> No, there isn't. We did this on purpose since it provides a huge simulation
> speed increase if the compiler can optimize the cache structures at compile
> time.
>
> You could probably set it up to change the number of sets in the caches, but
> changing the number of ways at runtime is not possible due to the way we
> implemented the set associative template classes in logic.h - you'll notice
> the associative matching is implemented in vectorized (SSE2) assembly
> language, which cannot be synthesized at runtime.
>
> - Matt
>
More information about the PTLsim-devel mailing list