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 <thuth@redhat.com>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
Richard Henderson
2025-12-18 14:27:30 +11:00
parent a2d76779d6
commit b83f9f99aa

View File

@@ -3,7 +3,6 @@
* buffer_is_zero acceleration, x86 version.
*/
#if defined(CONFIG_AVX2_OPT) || defined(__SSE2__)
#include <immintrin.h>
/* 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