audio: Disable NEON sample conversion until test failures are fixed

We need to do this early in the file, so that it will be taken into
account when deciding whether to define NEED_SCALAR_CONVERTER_FALLBACKS
and therefore provide a non-SIMD fallback.

Mitigates: https://github.com/libsdl-org/SDL/issues/8352
Signed-off-by: Simon McVittie <smcv@collabora.com>
main
Simon McVittie 2023-10-10 17:38:23 +01:00 committed by Ryan C. Gordon
parent 0fe95cfba3
commit bf72704bfd
1 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,10 @@
#include "SDL_audio_c.h"
/* TODO: NEON is disabled until https://github.com/libsdl-org/SDL/issues/8352
* can be fixed */
#undef SDL_NEON_INTRINSICS
#ifndef SDL_CPUINFO_DISABLED
#if defined(__x86_64__) && defined(SDL_SSE2_INTRINSICS)
#define NEED_SCALAR_CONVERTER_FALLBACKS 0 /* x86_64 guarantees SSE2. */