From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I1hce-0005qy-Ru for qemu-devel@nongnu.org; Fri, 22 Jun 2007 07:48:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I1hcb-0005qH-3J for qemu-devel@nongnu.org; Fri, 22 Jun 2007 07:48:15 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I1hca-0005qE-U7 for qemu-devel@nongnu.org; Fri, 22 Jun 2007 07:48:12 -0400 Received: from cmburns.debconf.org ([80.68.86.241]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1I1hca-0000TA-E5 for qemu-devel@nongnu.org; Fri, 22 Jun 2007 07:48:12 -0400 Received: from homer.dc7.debconf.org (unknown [129.215.255.137]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client CN "homer.dc7.debconf.org", Issuer "Certificate Authority - Email" (verified OK)) by cmburns.debconf.org (Postfix) with ESMTP id C3FC81C8043 for ; Fri, 22 Jun 2007 11:48:10 +0000 (UTC) Received: from [10.8.246.237] (helo=lagash ident=Debian-exim) by homer.dc7.debconf.org with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1I1hcY-0004Nr-B8 for qemu-devel@nongnu.org; Fri, 22 Jun 2007 12:48:10 +0100 Received: from ths by lagash with local (Exim 4.67) (envelope-from ) id 1I1hch-0002X4-SQ for qemu-devel@nongnu.org; Fri, 22 Jun 2007 12:48:19 +0100 Date: Fri, 22 Jun 2007 12:48:19 +0100 Subject: Re: [Qemu-devel] sh4: more patches Message-ID: <20070622114819.GD25967@networkno.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: From: Thiemo Seufer Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-devel@nongnu.org Magnus Damm wrote: > Hi everyone, > > Here comes a few more patches for the sh4 emulator. The should be > applied on top of the patches that I posted a few weeks ago: > > http://www.mail-archive.com/qemu-devel@nongnu.org/msg10830.html > > Good news is that the user space emulator is in a much better shape > now - with all the patches applied I'm successfully running a static > busybox binary compiled for sh4 using qemu-sh4. > > The method used to locate emulation bugs may be of value for other > fellow qemu hackers. I've written a small gdb script that single steps > in an endless loop dumping registers between each instruction. Then > I've used this script on both real target hardware (using gdbserver) > and using the gdbstub provided by qemu. Finally the traces have been > compared. I have more patches for this if anyone is interested... > > The patches attached in this email contain the following fixes: > > - sh4: Emulate more fpu opcodes > - sh4: Swap word order when accessing double floats Doesn't this one also depend on the host endianness? Thiemo