mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
sconv_sse: Exclude SSE optimizations for Mac OS X
At least on 32bit compiles, there are not enough registers.
This commit is contained in:
parent
ee4a33b586
commit
f51889c6f6
1 changed files with 2 additions and 2 deletions
|
|
@ -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 ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue