summaryrefslogtreecommitdiff
path: root/libs/ardour/globals.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-09-10 04:09:22 +0200
committerRobin Gareus <robin@gareus.org>2019-09-10 04:09:22 +0200
commited937c383f0b1bb6e83e7ee50882df7d6926646e (patch)
tree684e3210023c5d27d596a9c2692ae7f308afd118 /libs/ardour/globals.cc
parent1a828f1f4d00ce8079167d664846c7d40a4435c2 (diff)
Fix ARM compilation
Diffstat (limited to 'libs/ardour/globals.cc')
-rw-r--r--libs/ardour/globals.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/libs/ardour/globals.cc b/libs/ardour/globals.cc
index fa7467abe0..833baa1f96 100644
--- a/libs/ardour/globals.cc
+++ b/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