tcg/i386: Use host/cpuinfo.h
commitdbedadbaad0923ee2186b0ca488091cefd69f481
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 18 May 2023 01:17:34 +0000 (17 18:17 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 23 May 2023 23:49:33 +0000 (23 16:49 -0700)
treee691bc6f15e4481f14b5dc53db39d9de41b842b6
parenta48b6afea4c6c7bbfa355eb732b9b97bf1d43d67
tcg/i386: Use host/cpuinfo.h

Use the CPUINFO_* bits instead of the individual boolean
variables that we had been using.  Remove all of the init
code that was moved over to cpuinfo-i386.c.

Note that have_avx512* check both AVX512{F,VL}, as we had
previously done during tcg_target_init.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/i386/tcg-target.c.inc
tcg/i386/tcg-target.h