target-i386: switch to softfloat

This increase the correctness (precision, NaN values, corner cases) on
non-x86 machines, and add the possibility to handle the exception
correctly.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
Aurelien Jarno 2011-04-20 13:04:23 +02:00
parent a1d8db07fb
commit 347ac8e356

9
configure vendored
View File

@ -3275,14 +3275,7 @@ if test ! -z "$gdb_xml_files" ; then
echo "TARGET_XML_FILES=$list" >> $config_target_mak echo "TARGET_XML_FILES=$list" >> $config_target_mak
fi fi
case "$target_arch2" in echo "CONFIG_SOFTFLOAT=y" >> $config_target_mak
i386|x86_64)
echo "CONFIG_NOSOFTFLOAT=y" >> $config_target_mak
;;
*)
echo "CONFIG_SOFTFLOAT=y" >> $config_target_mak
;;
esac
if test "$target_user_only" = "yes" -a "$bflt" = "yes"; then if test "$target_user_only" = "yes" -a "$bflt" = "yes"; then
echo "TARGET_HAS_BFLT=y" >> $config_target_mak echo "TARGET_HAS_BFLT=y" >> $config_target_mak