From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J01vC-0000qX-Pn for qemu-devel@nongnu.org; Wed, 05 Dec 2007 16:36:46 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J01vA-0000lT-Gk for qemu-devel@nongnu.org; Wed, 05 Dec 2007 16:36:45 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J01vA-0000l2-BS for qemu-devel@nongnu.org; Wed, 05 Dec 2007 16:36:44 -0500 Received: from nf-out-0910.google.com ([64.233.182.187]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J01vA-0008Mp-1i for qemu-devel@nongnu.org; Wed, 05 Dec 2007 16:36:44 -0500 Received: by nf-out-0910.google.com with SMTP id 30so3544145nfu for ; Wed, 05 Dec 2007 13:36:42 -0800 (PST) Message-ID: Date: Wed, 5 Dec 2007 23:36:42 +0200 From: "Blue Swirl" Subject: Re: [Qemu-devel] and now bus error for i386 guest In-Reply-To: <4756B6C9.3080507@shaddybaddah.name> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <473A9DED.6020308@shaddybaddah.name> <473AAD7F.30709@shaddybaddah.name> <473AF480.6030802@shaddybaddah.name> <475554E1.5070509@shaddybaddah.name> <4756B6C9.3080507@shaddybaddah.name> 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 On 12/5/07, Shaddy Baddah wrote: > 0x1e958 : ld [ %l6 + 0x8c ], %l1 > 0x1e95c : call 0xa90b4 > 0x1e960 : mov %l1, %o0 Maybe you missed the effect of the delay slot. The first argument is prepared in %l1 and moved to %o0 in the delay slot of the call instruction. > 0x240a4 : sethi %hi(0x258800), %g4 > 0x240a8 : or %g4, 0x4c, %g4 ! 0x25884c > 0x240ac : ld [ %g4 ], %g4 > 0x240b0 : st %g4, [ %fp + -20 ] > 0x240b4 : ld [ %fp + -20 ], %o0 > 0x240b8 : call 0x14fa64 > 0x240bc : nop This looks like equivalent code, only dumber version using an intermediate store and not using the delay slot.