On 1 February 2011 17:20, Mike Frysinger <vap...@gentoo.org> wrote: > On Tue, Feb 1, 2011 at 05:31, Peter Maydell wrote: >> I suspect that this check of pc against the lbreg[] >> values should be being done in the generated code, >> not at translate time.
> the way i'm doing it atm i believe is safe. if a lbreg changes, then > i invalidate any TBs associated with the old value and any TBs > associated with the new value. thus i force the code to be > retranslated, and i can assume the lbreg values are constant when > doing so. That's OK too, that would fall into my category (3). -- PMM