Patchwork [v2,20/20] target-i386: switch to softfloat

login
register
mail settings
Submitter Aurelien Jarno
Date April 20, 2011, 10:12 a.m.
Message ID <1303294329-22634-21-git-send-email-aurelien@aurel32.net>
Download mbox | patch
Permalink /patch/92145/
State New
Headers show

Comments

Aurelien Jarno - April 20, 2011, 10:12 a.m.
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 <aurelien@aurel32.net>
---
 configure |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

v1 -> v2: remove case.
Peter Maydell - April 20, 2011, 10:42 a.m.
On 20 April 2011 11:12, Aurelien Jarno <aurelien@aurel32.net> wrote:
> 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 <aurelien@aurel32.net>
> ---
>  configure |    9 +--------
>  1 files changed, 1 insertions(+), 8 deletions(-)
>
> v1 -> v2: remove case.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

-- PMM

Patch

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