Skip to content
Permalink
Browse files

Fix ARM compilation

  • Loading branch information...
x42 committed Sep 10, 2019
1 parent 1a828f1 commit ed937c383f0b1bb6e83e7ee50882df7d6926646e
Showing with 4 additions and 5 deletions.
  1. +4 −5 libs/ardour/globals.cc
@@ -188,13 +188,12 @@ setup_hardware_optimization (bool try_optimization)

#ifdef PLATFORM_WINDOWS
/* We have AVX-optimized code for Windows */

if (fpu->has_avx()) {
if (fpu->has_avx())
#else
/* AVX code doesn't compile on Linux yet */

if (false) {
if (false)
#endif
{
info << "Using AVX optimized routines" << endmsg;

// AVX SET
@@ -748,7 +747,7 @@ ARDOUR::setup_fpu ()
"vmrs %0, fpscr \n"
"orr %0, %0, #0x1000000 \n"
"vmsr fpscr, %0 \n"
: "=r"(cw) :: "memory")
: "=r"(cw) :: "memory");
}

#endif

0 comments on commit ed937c3

Please sign in to comment.
You can’t perform that action at this time.