Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cy8yZ-0001YM-2F for qemu-devel@nongnu.org; Mon, 07 Feb 2005 08:30:51 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cy8yW-0001Wh-I8 for qemu-devel@nongnu.org; Mon, 07 Feb 2005 08:30:49 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cy8xe-0000rW-FR for qemu-devel@nongnu.org; Mon, 07 Feb 2005 08:29:54 -0500 Received: from [212.238.201.82] (helo=xi.wantstofly.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cy8QE-0000pA-5l for qemu-devel@nongnu.org; Mon, 07 Feb 2005 07:55:22 -0500 Date: Mon, 7 Feb 2005 13:55:20 +0100 From: Lennert Buytenhek Subject: Re: [Qemu-devel] ARM: Adding Maverick FPU support Message-ID: <20050207125520.GC23837@xi.wantstofly.org> References: <1107544087.23911.8.camel@jmcmullan> <200502042200.32185.paul@codesourcery.com> <42075FC4.70700@bellard.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42075FC4.70700@bellard.org> 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 Mon, Feb 07, 2005 at 01:32:04PM +0100, Fabrice Bellard wrote: > >Note that that FPA is implemented differently. I uses the same emulator as > >the linux kernel, hooked up to the undefined instruction interrupt. I > >wouldn't advise doing this as performance is really awful. It's > >approximately 2x slower than target soft-float, and I guess about 20x > >slower than a native implementation. > > Just to give more information, the idea was not to integrate the FPA > emulation in the CPU itself because I believed it was mostly implemented > as a software FPU. The real directory of FPA should be > qemu/linux-user/arm/nwfpe and _not_ qemu/target-arm/nwfpe. This makes sense, because if you do ARM system emulation, your emulated kernel will handle floating point emulation. > Now if real ARM FPUs are implemented, I agree they should go in op.c and > translate.c (an helper.c can be added too). There must be a way to > disable it so that the exact emulated ARM CPU core can be selected with > a command line option. How about an option for disabling all ARMv5(TE) instructions? --L