meson: Only disable SIMD for non-SSE machines on x86

This ended up disabling SIMD everywhere except where SSE/AVX was
enabled.
This commit is contained in:
Arun Raghavan 2024-12-30 16:12:01 -05:00
parent 54a632f018
commit 774ac54e71

View File

@ -4,7 +4,7 @@ pffft_sources = [
pffft_cflags = [ '-D_GNU_SOURCE' ] pffft_cflags = [ '-D_GNU_SOURCE' ]
if not have_inline_sse or (have_arm and not neon_opt.enabled()) or (have_mips and host_machine.endian() == 'little') or have_mips64 if (have_x86 and not have_inline_sse) or (have_arm and not neon_opt.enabled()) or (have_mips and host_machine.endian() == 'little') or have_mips64
pffft_cflags += [ '-DPFFFT_SIMD_DISABLE' ] pffft_cflags += [ '-DPFFFT_SIMD_DISABLE' ]
endif endif