[libvirt] [PATCH] cpu: Add support for MPX and AVX512 Intel features

Jiri Denemark jdenemar at redhat.com
Thu Jul 9 07:52:43 UTC 2015


Corresponding QEMU commits:
    MPX     79e9ebebbf2a00c46fcedb6dc7dd5e12bbd30216
    AVX512  9aecd6f8aef653cea58932f06a2740299dbe5fd3

Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
---
 src/cpu/cpu_map.xml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/src/cpu/cpu_map.xml b/src/cpu/cpu_map.xml
index b9e95cf..b924bd3 100644
--- a/src/cpu/cpu_map.xml
+++ b/src/cpu/cpu_map.xml
@@ -317,6 +317,12 @@
     <feature name='rtm'>
       <cpuid function='0x00000007' ebx='0x00000800'/>
     </feature>
+    <feature name='mpx'>
+      <cpuid function='0x00000007' ebx='0x00004000'/>
+    </feature>
+    <feature name='avx512f'> <!-- AVX-512 Foundation -->
+      <cpuid function='0x00000007' ebx='0x00010000'/>
+    </feature>
     <feature name='rdseed'>
       <cpuid function='0x00000007' ebx='0x00040000'/>
     </feature>
@@ -326,6 +332,15 @@
     <feature name='smap'>
       <cpuid function='0x00000007' ebx='0x00100000'/>
     </feature>
+    <feature name='avx512pf'> <!-- AVX-512 Prefetch -->
+      <cpuid function='0x00000007' ebx='0x04000000'/>
+    </feature>
+    <feature name='avx512er'> <!-- AVX-512 Exponential and Reciprocal -->
+      <cpuid function='0x00000007' ebx='0x08000000'/>
+    </feature>
+    <feature name='avx512cd'> <!-- AVX-512 Conflict Detection -->
+      <cpuid function='0x00000007' ebx='0x10000000'/>
+    </feature>
 
     <!-- Advanced Power Management edx features -->
     <feature name='invtsc' migratable='no'>
-- 
2.4.5




More information about the libvir-list mailing list