Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@amazon.com>2023-11-27 23:41:41 +0300
committerJean-Marc Valin <jmvalin@amazon.com>2023-11-27 23:41:41 +0300
commitd4506af5a9309dda4f798c70ce38dd95632e9b8d (patch)
tree5b4c400ae79066a96d0d146bf4a394b16993964e
parentdb6dad446c7d7f97ee3a81e50253fd0459fa99d6 (diff)
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.
-rw-r--r--configure.ac10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index ed676012..8cab79b2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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])],