From 774ac54e71d71e222918e49baec1e9dc203d2ed8 Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Mon, 30 Dec 2024 16:12:01 -0500 Subject: [PATCH] meson: Only disable SIMD for non-SSE machines on x86 This ended up disabling SIMD everywhere except where SSE/AVX was enabled. --- webrtc/third_party/pffft/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/third_party/pffft/meson.build b/webrtc/third_party/pffft/meson.build index c9e14a1..ce38cea 100644 --- a/webrtc/third_party/pffft/meson.build +++ b/webrtc/third_party/pffft/meson.build @@ -4,7 +4,7 @@ pffft_sources = [ 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' ] endif