From patchwork Wed Apr 20 10:12:09 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aurelien Jarno X-Patchwork-Id: 92145 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 93891B6EDD for ; Wed, 20 Apr 2011 20:16:46 +1000 (EST) Received: from localhost ([::1]:34241 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCUSh-0007Ns-JB for incoming@patchwork.ozlabs.org; Wed, 20 Apr 2011 06:16:43 -0400 Received: from eggs.gnu.org ([140.186.70.92]:43302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCUOZ-0008S4-T0 for qemu-devel@nongnu.org; Wed, 20 Apr 2011 06:12:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QCUOY-0004Tt-Qf for qemu-devel@nongnu.org; Wed, 20 Apr 2011 06:12:27 -0400 Received: from hall.aurel32.net ([88.191.126.93]:43753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCUOY-0004T5-Eh for qemu-devel@nongnu.org; Wed, 20 Apr 2011 06:12:26 -0400 Received: from [90.84.144.153] (helo=volta.aurel32.net) by hall.aurel32.net with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1QCUOX-0002qA-OT; Wed, 20 Apr 2011 12:12:25 +0200 Received: from aurel32 by volta.aurel32.net with local (Exim 4.72) (envelope-from ) id 1QCUOP-0006Hi-DK; Wed, 20 Apr 2011 12:12:17 +0200 From: Aurelien Jarno To: qemu-devel@nongnu.org Date: Wed, 20 Apr 2011 12:12:09 +0200 Message-Id: <1303294329-22634-21-git-send-email-aurelien@aurel32.net> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <1303294329-22634-1-git-send-email-aurelien@aurel32.net> References: <1303294329-22634-1-git-send-email-aurelien@aurel32.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 88.191.126.93 Cc: Aurelien Jarno Subject: [Qemu-devel] [PATCH v2 20/20] target-i386: switch to softfloat X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org This increase the correctness (precision, NaN values, corner cases) on non-x86 machines, and add the possibility to handle the exception correctly. Signed-off-by: Aurelien Jarno Reviewed-by: Peter Maydell --- configure | 9 +-------- 1 files changed, 1 insertions(+), 8 deletions(-) v1 -> v2: remove case. diff --git a/configure b/configure index da2da04..f2eab30 100755 --- a/configure +++ b/configure @@ -3275,14 +3275,7 @@ if test ! -z "$gdb_xml_files" ; then echo "TARGET_XML_FILES=$list" >> $config_target_mak fi -case "$target_arch2" in - i386|x86_64) - echo "CONFIG_NOSOFTFLOAT=y" >> $config_target_mak - ;; - *) - echo "CONFIG_SOFTFLOAT=y" >> $config_target_mak - ;; -esac +echo "CONFIG_SOFTFLOAT=y" >> $config_target_mak if test "$target_user_only" = "yes" -a "$bflt" = "yes"; then echo "TARGET_HAS_BFLT=y" >> $config_target_mak