On Mon, Apr 11, 2011 at 9:53 PM, Artyom Tarasenko <atar4q...@gmail.com> wrote: > > Can do it, but I'd like to understand first what we are looking for. > How does the main works in this case? Is it something like following? > > translate {brz,pn ; wrpr} -> optimize -> execute ->translate {retl ; > ...} ->optimize -> execute. > > The subject error is a tcg error, so it is happening in one of the two > translate/optimise phases drawn above, right? > So, why are we looking at the wrpr helper code?
Because you asked about alternate globals :) >> Do you have public test case? >> It is possible to code this delay slot write test but real issue may >> be corruption elsewhere. > > You assume ts->val_type gets corrupted? But then it must happen before > the wrpr helper call, or actually before the translation of {brz,pn ; > wrpr} block, no? In theory there could be multiple issues including compiler induced ones. I'd prefer to see some kind of reproducible testcase. -- Kind regards, Igor V. Kovalenko