From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IZE8S-0007tW-Oq for qemu-devel@nongnu.org; Sat, 22 Sep 2007 19:11:40 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IZE8R-0007t1-MW for qemu-devel@nongnu.org; Sat, 22 Sep 2007 19:11:40 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IZE8R-0007sv-F8 for qemu-devel@nongnu.org; Sat, 22 Sep 2007 19:11:39 -0400 Received: from hall.aurel32.net ([88.191.38.19]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IZE8R-00086z-5S for qemu-devel@nongnu.org; Sat, 22 Sep 2007 19:11:39 -0400 Received: from volta.aurel32.net ([2001:618:400:fc13:216:d3ff:fe17:fd00]) by hall.aurel32.net with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1IZE8P-0001tB-2w for qemu-devel@nongnu.org; Sun, 23 Sep 2007 01:11:37 +0200 Received: from localhost.aurel32.net ([127.0.0.1] ident=aurel32) by volta.aurel32.net with esmtp (Exim 4.67) (envelope-from ) id 1IZE8N-0001Kv-SW for qemu-devel@nongnu.org; Sun, 23 Sep 2007 01:11:35 +0200 Message-ID: <46F5A127.2020502@aurel32.net> Date: Sun, 23 Sep 2007 01:11:35 +0200 From: Aurelien Jarno MIME-Version: 1.0 Subject: Re: [Qemu-devel] qemu/target-sparc exec.h op.c op_helper.c op_me... References: <5F596BA5-213D-473B-ADEA-5E616296970F@web.de> <20070921202659.GA32636@hall.aurel32.net> <46F4327C.4030200@aurel32.net> <20070922114954.GA12622@hall.aurel32.net> <3B4277C4-223D-4907-9473-00C0CA2FC623@web.de> <46F555DA.50508@aurel32.net> <1C04A191-3868-4CAD-99AE-6EB04474991F@web.de> <46F575C2.5040609@aurel32.net> <46F57C54.1010105@aurel32.net> <46F58C1C.3000900@aurel32.net> <0069164A-F02D-4512-891F-E55E88E3B4F3@web.de> In-Reply-To: <0069164A-F02D-4512-891F-E55E88E3B4F3@web.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Andreas Färber a écrit : > Am 22.09.2007 um 23:41 schrieb Aurelien Jarno: > >> Aurelien Jarno a écrit : >>> Thanks, that's helpful, it looks like the "lduba" instructions is not >>> working correctly in your case. Now I have to find why. >> I don't really understand, because that is the part of the code (at >> least from the op point of view) that is almost unchanged. Looking at >> the code again and again I can't see any problem. >> >> Could you please try to find the values of T1 at the end of >> helper_ld_asi (adding a printf or using gdb). That may help us to >> understand what is the problem. > > With: > > printf("helper_ld_asi: T1 = %llx\n", T1); // not sure if that's correct? Yes that is correct. > I get these two: > > helper_ld_asi: T1 = 5171200000 The correct value here is 51. I don't really understand why this value is not a 8-bit one, as the memory access is done through ldub_phys(). Could you please verify that helper_ld_asi() is called with the correct parameters. This should be 0x20 0x1 0x0. PS: I don't know if I will be able to get internet access in the next 4 days. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net