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:
Diffstat (limited to 'silk/x86/main_sse.h')
-rw-r--r--silk/x86/main_sse.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/silk/x86/main_sse.h b/silk/x86/main_sse.h
index 2e4386bf..81cd684c 100644
--- a/silk/x86/main_sse.h
+++ b/silk/x86/main_sse.h
@@ -269,5 +269,22 @@ extern opus_int (*const SILK_VAD_GETSA_Q8_IMPL[OPUS_ARCHMASK + 1])(
# endif
+double silk_inner_product_FLP_avx2(
+ const silk_float *data1,
+ const silk_float *data2,
+ opus_int dataSize
+);
+
+#if defined (OPUS_X86_PRESUME_AVX2)
+
+#define OVERRIDE_inner_product_FLP
+#define silk_inner_product_FLP(data1, data2, dataSize) silk_inner_product_FLP_avx2(data1, data2, dataSize)
+
+#elif defined(OPUS_HAVE_RTCD) && defined(OPUS_X86_MAY_HAVE_AVX2)
+
+/*#define OVERRIDE_inner_product_FLP*/
+
+#endif
+
# endif
#endif