Sfoglia il codice sorgente

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 <[email protected]>
Simon McVittie 2 anni fa
parent
commit
bf72704bfd
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  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. */