the AVX functions for linux are stubs - they just use non-optimized code. Don't consi...
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 11 Aug 2015 21:52:27 +0000 (17:52 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 11 Aug 2015 21:52:39 +0000 (17:52 -0400)
Someone needs to port the AVX assembler away from mingw/windows calling conventions and back to linux

libs/ardour/globals.cc

index fea1de2c55c4d74dcda0d4f532ca14655845a4f1..f0c1da683b64114246ac2118ea6267a80c6d9e00 100644 (file)
@@ -164,8 +164,10 @@ setup_hardware_optimization (bool try_optimization)
 
 #if defined (ARCH_X86) && defined (BUILD_SSE_OPTIMIZATIONS)
 
+#if 0 /* AVX code doesn't compile on Linux yet, don't use generic code instead */
+               
                if (fpu.has_avx()) {
-
+                       
                        info << "Using AVX optimized routines" << endmsg;
 
                        // AVX SET
@@ -178,7 +180,9 @@ setup_hardware_optimization (bool try_optimization)
 
                        generic_mix_functions = false;
 
-               } else if (fpu.has_sse()) {
+               } else
+#endif
+                       if (fpu.has_sse()) {
 
                        info << "Using SSE optimized routines" << endmsg;