Skip to content
Snippets Groups Projects
Verified Commit d4506af5 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Enable floating-point approximations by default

Enabling only on platforms that have been tested just in case we
run into a non-IEEE754 platform where they would break.
parent db6dad44
No related branches found
No related tags found
No related merge requests found
......@@ -181,11 +181,11 @@ AS_IF([test "$enable_deep_plc" = "yes" || test "$enable_dred" = "yes"],[
AM_CONDITIONAL([ENABLE_DEEP_PLC], [test "$enable_deep_plc" = "yes" || test "$enable_dred" = "yes"])
has_float_approx=no
#case "$host_cpu" in
#i[[3456]]86 | x86_64 | powerpc64 | powerpc32 | ia64)
# has_float_approx=yes
# ;;
#esac
case "$host_cpu" in
i[[3456]]86 | x86_64 | arm* | aarch64* | powerpc64 | powerpc32 | ia64)
has_float_approx=yes
;;
esac
AC_ARG_ENABLE([float-approx],
[AS_HELP_STRING([--enable-float-approx], [enable fast approximations for floating point])],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment