Received: from [140.186.70.92] (port=54060 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pcm12-0004kh-5R for qemu-devel@nongnu.org; Tue, 11 Jan 2011 16:44:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pcm0s-0005tc-TS for qemu-devel@nongnu.org; Tue, 11 Jan 2011 16:44:23 -0500 Received: from hall.aurel32.net ([88.191.126.93]:46606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pcm0s-0005tK-NX for qemu-devel@nongnu.org; Tue, 11 Jan 2011 16:44:22 -0500 Date: Tue, 11 Jan 2011 22:44:20 +0100 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH 1/9] target-sh4: switch sh4 to softfloat Message-ID: <20110111214420.GA2577@volta.aurel32.net> References: <1294779698-17694-1-git-send-email-aurelien@aurel32.net> <1294779698-17694-2-git-send-email-aurelien@aurel32.net> <20110111212208.GW6247@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20110111212208.GW6247@codesourcery.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nathan Froyd Cc: qemu-devel@nongnu.org On Tue, Jan 11, 2011 at 01:22:08PM -0800, Nathan Froyd wrote: > On Tue, Jan 11, 2011 at 10:01:30PM +0100, Aurelien Jarno wrote: > > case "$target_arch2" in > > - alpha|arm|armeb|m68k|microblaze|mips|mipsel|mipsn32|mipsn32el|mips64|mips64el|ppc|ppc64|ppc64abi32|ppcemb|s390x|sparc|sparc64|sparc32plus) > > + alpha|arm|armeb|m68k|microblaze|mips|mipsel|mipsn32|mipsn32el|mips64|mips64el|ppc|ppc64|ppc64abi32|ppcemb|s390x|sh4|sh4eb|sparc|sparc64|sparc32plus) > > echo "CONFIG_SOFTFLOAT=y" >> $config_target_mak > > ;; > > *) > > This is obvious, I think...but it's also a little ridiculous. Why not > make everything use softfloat and dispense with this? How much work > would it be on the x86 side? > On the x86 target, the problem is that it doesn't compile with softfloat. OTOH, I think it is the way to go, as for example emulating an x86 machine on ARM, even if you don't care about the exception flags, the precision is not correct. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net