summaryrefslogtreecommitdiff
path: root/target-i386/cpu.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-01-23 18:17:33 -0800
committerRichard Henderson <rth@twiddle.net>2013-02-19 23:05:18 -0800
commitcd7f97cafdd80d6bd4950ccfdcd9acb7850184b2 (patch)
tree92ee2c5da0c290d7b1fd967c432eed58963319d7 /target-i386/cpu.c
parente2c3c2c551bccd843135eab1ba202f8d2f86800b (diff)
downloadqemu-cd7f97cafdd80d6bd4950ccfdcd9acb7850184b2.zip
target-i386: Implement ADX extension
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-i386/cpu.c')
-rw-r--r--target-i386/cpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-i386/cpu.c b/target-i386/cpu.c
index 0cb64ab583..5582e5f4e6 100644
--- a/target-i386/cpu.c
+++ b/target-i386/cpu.c
@@ -407,11 +407,11 @@ typedef struct x86_def_t {
CPUID_EXT3_CR8LEG | CPUID_EXT3_ABM | CPUID_EXT3_SSE4A)
#define TCG_SVM_FEATURES 0
#define TCG_7_0_EBX_FEATURES (CPUID_7_0_EBX_SMEP | CPUID_7_0_EBX_SMAP \
- CPUID_7_0_EBX_BMI1 | CPUID_7_0_EBX_BMI2)
+ CPUID_7_0_EBX_BMI1 | CPUID_7_0_EBX_BMI2 | CPUID_7_0_EBX_ADX)
/* missing:
CPUID_7_0_EBX_FSGSBASE, CPUID_7_0_EBX_HLE, CPUID_7_0_EBX_AVX2,
CPUID_7_0_EBX_ERMS, CPUID_7_0_EBX_INVPCID, CPUID_7_0_EBX_RTM,
- CPUID_7_0_EBX_RDSEED, CPUID_7_0_EBX_ADX */
+ CPUID_7_0_EBX_RDSEED */
/* built-in CPU model definitions
*/