diff options
author | David Robillard <d@drobilla.net> | 2012-08-15 15:59:14 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-15 15:59:14 +0000 |
commit | a3d2709ee6f9595137df0865f857e0a90dd3a585 (patch) | |
tree | d33b596bf162b97572edbc0c5d1bcdadda93301d /src | |
parent | 5dd1d9b720993fc7813fe12fca0844f95033ff1b (diff) | |
download | ingen-a3d2709ee6f9595137df0865f857e0a90dd3a585.tar.gz ingen-a3d2709ee6f9595137df0865f857e0a90dd3a585.tar.bz2 ingen-a3d2709ee6f9595137df0865f857e0a90dd3a585.zip |
Fix compilation without SSE support.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4701 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/server/Buffer.cpp | 2 |
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 |