From patchwork Wed Jan 12 11:05:04 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aurelien Jarno X-Patchwork-Id: 78537 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 401CFB70A9 for ; Wed, 12 Jan 2011 22:08:35 +1100 (EST) Received: from localhost ([127.0.0.1]:41914 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcyZ3-0007JP-T3 for incoming@patchwork.ozlabs.org; Wed, 12 Jan 2011 06:08:29 -0500 Received: from [140.186.70.92] (port=51721 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcyVx-0005jw-1i for qemu-devel@nongnu.org; Wed, 12 Jan 2011 06:05:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PcyVu-0006kL-UA for qemu-devel@nongnu.org; Wed, 12 Jan 2011 06:05:16 -0500 Received: from hall.aurel32.net ([88.191.126.93]:40867) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PcyVu-0006ju-OI for qemu-devel@nongnu.org; Wed, 12 Jan 2011 06:05:14 -0500 Received: from [2001:470:d4ed:0:5e26:aff:fe2b:6f5b] (helo=volta.aurel32.net) by hall.aurel32.net with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1PcyVt-0001YG-8B; Wed, 12 Jan 2011 12:05:13 +0100 Received: from aurel32 by volta.aurel32.net with local (Exim 4.72) (envelope-from ) id 1PcyVu-0002oP-3n; Wed, 12 Jan 2011 12:05:14 +0100 From: Aurelien Jarno To: qemu-devel@nongnu.org Date: Wed, 12 Jan 2011 12:05:04 +0100 Message-Id: <1294830304-10778-1-git-send-email-aurelien@aurel32.net> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <1294779698-17694-2-git-send-email-aurelien@aurel32.net> References: <1294779698-17694-2-git-send-email-aurelien@aurel32.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: Aurelien Jarno Subject: [Qemu-devel] [PATCH v2 1/9] target-sh4: switch sh4 to softfloat X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org We need to be able to catch exceptions correctly and thus enable softfloat on SH4. As all machines except i386 and x86_64 are using softfloat, make it the default and change the case to detect i386 and x86_64. Note that CRIS doesn't have an FPU, so it can be configured with both softfloat-native and softfloat. Signed-off-by: Aurelien Jarno --- configure | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 438219b..473b8e9 100755 --- a/configure +++ b/configure @@ -3069,11 +3069,11 @@ if test ! -z "$gdb_xml_files" ; then fi case "$target_arch2" in - alpha|arm|armeb|m68k|microblaze|mips|mipsel|mipsn32|mipsn32el|mips64|mips64el|ppc|ppc64|ppc64abi32|ppcemb|s390x|sparc|sparc64|sparc32plus) - echo "CONFIG_SOFTFLOAT=y" >> $config_target_mak + i386|x86_64) + echo "CONFIG_NOSOFTFLOAT=y" >> $config_target_mak ;; *) - echo "CONFIG_NOSOFTFLOAT=y" >> $config_target_mak + echo "CONFIG_SOFTFLOAT=y" >> $config_target_mak ;; esac