1 /* cpuid.h: Macros to identify the properties of an x86 host.
3 * This work is licensed under the terms of the GNU GPL, version 2 or later.
4 * See the COPYING file in the top-level directory.
10 #ifndef CONFIG_CPUID_H
11 # error "<cpuid.h> is unusable with this compiler"
16 /* Cover the uses that we have within qemu. */
17 /* ??? Irritating that we have the same information in target/i386/. */
21 #define bit_CMOV (1 << 15)
24 #define bit_SSE2 (1 << 26)
29 #define bit_SSE4_1 (1 << 19)
32 #define bit_MOVBE (1 << 22)
35 #define bit_OSXSAVE (1 << 27)
38 #define bit_AVX (1 << 28)
43 #define bit_BMI (1 << 3)
46 #define bit_AVX2 (1 << 5)
49 #define bit_AVX512F (1 << 16)
52 #define bit_BMI2 (1 << 8)
55 /* Leaf 0x80000001, %ecx */
57 #define bit_LZCNT (1 << 5)
60 #endif /* QEMU_CPUID_H */