aboutsummaryrefslogtreecommitdiff
path: root/target/i386/hvf
diff options
context:
space:
mode:
authorTao Xu <tao3.xu@intel.com>2019-09-26 10:10:55 +0800
committerEduardo Habkost <ehabkost@redhat.com>2019-10-15 18:34:44 -0300
commite7694a5eae34a31a5b240467b5201a7f31b7f96a (patch)
tree029a683c5ad8cfac43f145eaa75c81460a6bafbe /target/i386/hvf
parentf2be0bebb6f5d5436079d8c28f07da891082d753 (diff)
downloadqemu-e7694a5eae34a31a5b240467b5201a7f31b7f96a.zip
qemu-e7694a5eae34a31a5b240467b5201a7f31b7f96a.tar.gz
qemu-e7694a5eae34a31a5b240467b5201a7f31b7f96a.tar.bz2
target/i386: drop the duplicated definition of cpuid AVX512_VBMI macro
Drop the duplicated definition of cpuid AVX512_VBMI macro and rename it as CPUID_7_0_ECX_AVX512_VBMI. Rename CPUID_7_0_ECX_VBMI2 as CPUID_7_0_ECX_AVX512_VBMI2. Acked-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: Tao Xu <tao3.xu@intel.com> Message-Id: <20190926021055.6970-3-tao3.xu@intel.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'target/i386/hvf')
-rw-r--r--target/i386/hvf/x86_cpuid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/i386/hvf/x86_cpuid.c b/target/i386/hvf/x86_cpuid.c
index 4d957fe..16762b6 100644
--- a/target/i386/hvf/x86_cpuid.c
+++ b/target/i386/hvf/x86_cpuid.c
@@ -89,7 +89,7 @@ uint32_t hvf_get_supported_cpuid(uint32_t func, uint32_t idx,
ebx &= ~CPUID_7_0_EBX_INVPCID;
}
- ecx &= CPUID_7_0_ECX_AVX512BMI | CPUID_7_0_ECX_AVX512_VPOPCNTDQ;
+ ecx &= CPUID_7_0_ECX_AVX512_VBMI | CPUID_7_0_ECX_AVX512_VPOPCNTDQ;
edx &= CPUID_7_0_EDX_AVX512_4VNNIW | CPUID_7_0_EDX_AVX512_4FMAPS;
} else {
ebx = 0;