shithub: opus

Download patch

ref: bb0e1e0d6f6b112160a10de84ba368689c41c1bb
parent: 911ddc0c58b67c9a8d5d1272040b0b9df5e6a782
author: Radu Velea <[email protected]>
date: Tue Oct 27 09:52:11 EDT 2015

Naming convention for AVX

Signed-off-by: Timothy B. Terriberry <[email protected]>

--- a/celt/x86/x86cpu.h
+++ b/celt/x86/x86cpu.h
@@ -46,6 +46,12 @@
 #  define MAY_HAVE_SSE4_1(name) name ## _c
 # endif
 
+# if defined(OPUS_X86_MAY_HAVE_AVX)
+#  define MAY_HAVE_AVX(name) name ## _avx
+# else
+#  define MAY_HAVE_AVX(name) name ## _c
+# endif
+
 # if defined(OPUS_HAVE_RTCD)
 int opus_select_arch(void);
 # endif