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:
authorRadu Velea <radu.velea@intel.com>2015-10-27 13:21:36 +0300
committerTimothy B. Terriberry <tterribe@xiph.org>2015-11-05 12:23:05 +0300
commit1632152b83b8ab4e28393bca94450796b71b0201 (patch)
tree9d70a379010a47f5c203bad841dca40257619e14 /celt/cpu_support.h
parentbb0e1e0d6f6b112160a10de84ba368689c41c1bb (diff)
Adding AVX config switches
Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org>
Diffstat (limited to 'celt/cpu_support.h')
-rw-r--r--celt/cpu_support.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/celt/cpu_support.h b/celt/cpu_support.h
index db1cb588..133abbfc 100644
--- a/celt/cpu_support.h
+++ b/celt/cpu_support.h
@@ -48,13 +48,14 @@
(defined(OPUS_X86_MAY_HAVE_SSE4_1) && !defined(OPUS_X86_PRESUME_SSE4_1))
#include "x86/x86cpu.h"
-/* We currently support 4 x86 variants:
+/* We currently support 5 x86 variants:
* arch[0] -> non-sse
* arch[1] -> sse
* arch[2] -> sse2
* arch[3] -> sse4.1
+ * arch[4] -> avx
*/
-#define OPUS_ARCHMASK 3
+#define OPUS_ARCHMASK 7
int opus_select_arch(void);
#else