summaryrefslogtreecommitdiff
path: root/libs/ardour/globals.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-08-11 17:52:27 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2015-08-11 17:52:39 -0400
commitec5eccd3a33207b569374f02b2e05862f1fe4b67 (patch)
tree45a6e97bdcd6dc7ddc5d10962fadc57103046e9b /libs/ardour/globals.cc
parent687921a76024486e69f6dbc94b443ef6de460d85 (diff)
the AVX functions for linux are stubs - they just use non-optimized code. Don't consider using them.
Someone needs to port the AVX assembler away from mingw/windows calling conventions and back to linux
Diffstat (limited to 'libs/ardour/globals.cc')
-rw-r--r--libs/ardour/globals.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/libs/ardour/globals.cc b/libs/ardour/globals.cc
index fea1de2c55..f0c1da683b 100644
--- a/libs/ardour/globals.cc
+++ b/libs/ardour/globals.cc
@@ -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;