mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:46:10 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user