diff options
author | Edward Rudd <urkle@outoforder.cc> | 2011-02-22 10:14:07 -0500 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2011-02-22 21:33:44 +0000 |
commit | f51889c6f64f11221caba3615bf779fc19d0dd15 (patch) | |
tree | 17b99709e8c27826078844fedb5cc3b87f5b5a3d /src | |
parent | ee4a33b5869f355670faca4adcc40fefd2797e0d (diff) |
sconv_sse: Exclude SSE optimizations for Mac OS X
At least on 32bit compiles, there are not enough registers.
Diffstat (limited to 'src')
-rw-r--r-- | src/pulsecore/sconv_sse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pulsecore/sconv_sse.c b/src/pulsecore/sconv_sse.c index 3737af2a..2e74d744 100644 --- a/src/pulsecore/sconv_sse.c +++ b/src/pulsecore/sconv_sse.c @@ -35,7 +35,7 @@ #include "cpu-x86.h" #include "sconv.h" -#if defined (__i386__) || defined (__amd64__) +#if !defined(__APPLE__) && defined (__i386__) || defined (__amd64__) static const PA_DECLARE_ALIGNED (16, float, one[4]) = { 1.0, 1.0, 1.0, 1.0 }; static const PA_DECLARE_ALIGNED (16, float, mone[4]) = { -1.0, -1.0, -1.0, -1.0 }; @@ -217,7 +217,7 @@ static void run_test (void) { void pa_convert_func_init_sse (pa_cpu_x86_flag_t flags) { -#if defined (__i386__) || defined (__amd64__) +#if !defined(__APPLE__) && defined (__i386__) || defined (__amd64__) #ifdef RUN_TEST run_test (); |