From bf72704bfdc546af3029bd8b65e68df1a567e884 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 10 Oct 2023 17:38:23 +0100 Subject: [PATCH] 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 --- src/audio/SDL_audiotypecvt.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/audio/SDL_audiotypecvt.c b/src/audio/SDL_audiotypecvt.c index 1b45a0d98..a8fb65427 100644 --- a/src/audio/SDL_audiotypecvt.c +++ b/src/audio/SDL_audiotypecvt.c @@ -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. */