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-06-15 23:18:59 +0300
committerJean-Marc Valin <jmvalin@amazon.com>2023-06-15 23:18:59 +0300
commit22f937deae8abe26149585d6274438dd297ac757 (patch)
treec1a965b42b53a2d7a51e7312c41659e4a2608e54
parentd5cd3469395e0342bb474117b032efdd952b3398 (diff)
Make AVX2 test actually include AVX2 and FMA
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 94cf51b7..b4b8afcd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -627,8 +627,8 @@ AS_IF([test x"$enable_intrinsics" = x"yes"],[
[[
__m256 mtest;
mtest = _mm256_set1_ps((float)time(NULL));
- mtest = _mm256_addsub_ps(mtest, mtest);
- return _mm_cvtss_si32(_mm256_extractf128_ps(mtest, 0));
+ mtest = _mm256_fmadd_ps(mtest, mtest, mtest);
+ return _mm256_extract_epi16(_mm256_cvttps_epi32(mtest), 0);
]]
)
AS_IF([test x"$OPUS_X86_MAY_HAVE_AVX2" = x"1" && test x"$OPUS_X86_PRESUME_AVX2" != x"1"],