unicorn/qemu/target
Richard Henderson 7e327aaf84
util: Introduce include/qemu/cpuid.h
Clang 3.9 passes the CONFIG_AVX2_OPT configure test. However, the
supplied <cpuid.h> does not contain the bit_AVX2 define that we use
when detecting whether the routine can be enabled.

Introduce a qemu-specific header that uses the compiler's definition
of __cpuid et al, but supplies any missing bit_* definitions needed.
This avoids introducing any extra ifdefs to util/bufferiszero.c, and
allows quite a few to be removed from tcg/i386/tcg-target.inc.c.

Backports commit 5dd8990841a9e331d9d4838a116291698208cbb6 from qemu
2018-03-09 12:12:00 -05:00
..
arm target/arm: Enable ARM_FEATURE_V8_FCMA 2018-03-09 01:12:19 -05:00
i386 util: Introduce include/qemu/cpuid.h 2018-03-09 12:12:00 -05:00
m68k target/m68k: add fscale, fgetman and fgetexp 2018-03-09 01:37:34 -05:00
mips unicorn/mips: Lessen the amount of MIPS_CPU macro usage 2018-03-07 10:50:08 -05:00
sparc sparc: fix leon3 casa instruction when MMU is disabled 2018-03-09 01:39:53 -05:00