On Fri, Oct 22, 2010 at 3:59 PM, Steve Reinhardt <[email protected]> wrote:
> I'd still really encourage you to work on cutting out the middleman
> and find a way to go straight from raw bytes to StaticInsts via a
> cache.

Just to be clear: what I mean is that we need a way to do the "tag
check" on the PC-indexed decoded page cache using raw bytes, so we can
determine hits there without invoking the predecoder.  If the decode
page cache misses and we have to repopulate it, then how we manage the
"backing" decode cache is probably not that big of an issue, and
probably does require going through the predecoder since otherwise we
won't know necessarily how long the undecoded instruction byte
sequence is.

In fact the main reason we need a cache there at all is so that we can
re-use the same StaticInst in multiple places; I'm not sure it really
saves that much time relative to doing the full decode.  (Probably
some, but I don't know how much.)

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

Reply via email to