mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
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
This commit is contained in:
parent
687921a760
commit
ec5eccd3a3
1 changed files with 6 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue