]> git.proxmox.com Git - mirror_qemu.git/commit - util/bufferiszero.c
util/bufferiszero: Use i386 host/cpuinfo.h
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 18 May 2023 02:10:59 +0000 (19:10 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 23 May 2023 23:51:13 +0000 (16:51 -0700)
commit51f4d916b52846a1ea357740772401c508607f7f
tree1af1a3b25d25ed903da62b72a108d561ba3be156
parentdbedadbaad0923ee2186b0ca488091cefd69f481
util/bufferiszero: Use i386 host/cpuinfo.h

Use cpuinfo_init() during init_accel(), and the variable cpuinfo
during test_buffer_is_zero_next_accel().  Adjust the logic that
cycles through the set of accelerators for testing.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
util/bufferiszero.c