mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-03-30 20:16:52 +00:00
i386: Add macro for stibp
stibp feature is already added through the following commit.
0e89165829
Add a macro for it to allow CPU models to report it when host supports.
Backports commit 5af514d0cb314f43bc53f2aefb437f6451d64d0c from qemu
This commit is contained in:
parent
067a459774
commit
67b6034a0f
|
@ -716,6 +716,8 @@ typedef uint32_t FeatureWordArray[FEATURE_WORDS];
|
||||||
#define CPUID_7_0_EDX_AVX512_4FMAPS (1U << 3)
|
#define CPUID_7_0_EDX_AVX512_4FMAPS (1U << 3)
|
||||||
/* Speculation Control */
|
/* Speculation Control */
|
||||||
#define CPUID_7_0_EDX_SPEC_CTRL (1U << 26)
|
#define CPUID_7_0_EDX_SPEC_CTRL (1U << 26)
|
||||||
|
/* Single Thread Indirect Branch Predictors */
|
||||||
|
#define CPUID_7_0_EDX_STIBP (1U << 27)
|
||||||
/* Arch Capabilities */
|
/* Arch Capabilities */
|
||||||
#define CPUID_7_0_EDX_ARCH_CAPABILITIES (1U << 29)
|
#define CPUID_7_0_EDX_ARCH_CAPABILITIES (1U << 29)
|
||||||
/* Core Capability */
|
/* Core Capability */
|
||||||
|
|
Loading…
Reference in a new issue