From b83f9f99aaae0f29d99d17d870f9fc0bd6424504 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 18 Dec 2025 14:27:30 +1100 Subject: [PATCH] host/include/x86_64/bufferiszero: Remove no SSE2 fallback Since x86_64 always has SSE2, we can remove the fallback that was present for i686. Reviewed-by: Thomas Huth Reviewed-by: Pierrick Bouvier Signed-off-by: Richard Henderson --- host/include/x86_64/host/bufferiszero.c.inc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/host/include/x86_64/host/bufferiszero.c.inc b/host/include/x86_64/host/bufferiszero.c.inc index 74ae98580f..7e9d896a8d 100644 --- a/host/include/x86_64/host/bufferiszero.c.inc +++ b/host/include/x86_64/host/bufferiszero.c.inc @@ -3,7 +3,6 @@ * buffer_is_zero acceleration, x86 version. */ -#if defined(CONFIG_AVX2_OPT) || defined(__SSE2__) #include /* Helper for preventing the compiler from reassociating @@ -119,7 +118,3 @@ static unsigned best_accel(void) #endif return info & CPUINFO_SSE2 ? 1 : 0; } - -#else -# include "host/include/generic/host/bufferiszero.c.inc" -#endif