From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:39135) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9T7f-00074y-FQ for qemu-devel@nongnu.org; Mon, 11 Apr 2011 22:14:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q9T7e-00023C-Jw for qemu-devel@nongnu.org; Mon, 11 Apr 2011 22:14:31 -0400 Received: from mail-fx0-f45.google.com ([209.85.161.45]:41513) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9T7e-000236-C1 for qemu-devel@nongnu.org; Mon, 11 Apr 2011 22:14:30 -0400 Received: by fxm2 with SMTP id 2so4870145fxm.4 for ; Mon, 11 Apr 2011 19:14:29 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <20110410132415.GA6719@volta.aurel32.net> Date: Tue, 12 Apr 2011 06:14:28 +0400 Message-ID: From: Igor Kovalenko Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] tcg/tcg.c:1892: tcg fatal error List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Artyom Tarasenko Cc: Blue Swirl , peter.maydell@linaro.org, qemu-devel , Aurelien Jarno On Mon, Apr 11, 2011 at 9:53 PM, Artyom Tarasenko wro= te: > > 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 =A0translation 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. --=20 Kind regards, Igor V. Kovalenko