On Tue, Sep 15, 2009 at 5:07 AM, Gabe Black <gbl...@eecs.umich.edu> wrote:
>
> That would work, except that you'd have to punch a readCR3 function
> through all the *context classes and CPU classes between the producer
> and consumer of that value. With templates, that all still happens, but
> it's anonymous and doesn't make the actual text of the intermediary code
> any less generic. I was actually thinking outside of the context of the
> ISA parser, but independently it would be nice (not to be read as
> necessary or necessarily worthwhile) to save the overhead there too.
>

OK. given that comment and then going back and re-reading your earlier
email I think I understand what you're proposing now.  I don't think I
fully got it the first time around.  I think that is a pretty
reasonable idea... still not sure if it would make a noticeable
performance difference or not, but it's possible.

Steve
_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to