Browse Source

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>
Simon McVittie 1 year ago
parent
commit
bf72704bfd
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/audio/SDL_audiotypecvt.c

+ 4 - 0
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. */