summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/Buffer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/Buffer.cpp b/src/server/Buffer.cpp
index b6b67008..9bc2572f 100644
--- a/src/server/Buffer.cpp
+++ b/src/server/Buffer.cpp
@@ -150,6 +150,7 @@ Buffer::port_data(PortType port_type) const
const_cast<Buffer*>(this)->port_data(port_type));
}
+#ifdef __SSE__
/** Vector fabsf */
static inline __m128
mm_abs_ps(__m128 x)
@@ -157,6 +158,7 @@ mm_abs_ps(__m128 x)
const __m128 sign_mask = _mm_set1_ps(-0.0f); // -0.0f = 1 << 31
return _mm_andnot_ps(sign_mask, x);
}
+#endif
float
Buffer::peak(const Context& context) const