host/i386: assume presence of POPCNT
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 31 May 2024 08:29:32 +0000 (10:29 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 5 Jun 2024 09:01:05 +0000 (11:01 +0200)
commit45ccdbcb24baf99667997fac5cf60318e5e7db51
treea8eec1aa787d899883eaeaf60248a310f411df03
parent433cd6d94a8256af70a5200f236dc8047c3c1468
host/i386: assume presence of POPCNT

QEMU now requires an x86-64-v2 host, which has the POPCNT instruction.
Use it freely in TCG-generated code.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
host/include/i386/host/cpuinfo.h
tcg/i386/tcg-target.h
util/cpuinfo-i386.c