ref: d4506af5a9309dda4f798c70ce38dd95632e9b8d
parent: db6dad446c7d7f97ee3a81e50253fd0459fa99d6
author: Jean-Marc Valin <jmvalin@amazon.com>
date: Mon Nov 27 10:41:41 EST 2023
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.
--- a/configure.ac
+++ b/configure.ac
@@ -181,11 +181,11 @@
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])],
--
⑨