]> xenbits.xensource.com Git - libvirt.git/commitdiff
cpu: Add support for MPX and AVX512 Intel features
authorJiri Denemark <jdenemar@redhat.com>
Thu, 9 Jul 2015 07:47:34 +0000 (09:47 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 10 Jul 2015 09:47:13 +0000 (11:47 +0200)
Corresponding QEMU commits:
    MPX     79e9ebebbf2a00c46fcedb6dc7dd5e12bbd30216
    AVX512  9aecd6f8aef653cea58932f06a2740299dbe5fd3

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/cpu/cpu_map.xml

index b9e95cffe8b9af41c2d9607a8c41a78bc0983fb4..b924bd3b7819641bf5b6ceb95722e97b87de8ee1 100644 (file)
     <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>
     <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'>