[PATCH] cpu: Add support for more AVX512 Intel features

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These features are included:
AVX512DQ, AVX512IFMA, AVX512BW, AVX512VL, AVX512VBMI, AVX512_4VNNIW and
AVX512_4FMAPS.

qemu commits: cc728d14 and 95ea69fb

Signed-off-by: Lin Ma <lma@xxxxxxxx>
---
 src/cpu/cpu_map.xml | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/src/cpu/cpu_map.xml b/src/cpu/cpu_map.xml
index 6da8321..e9292e1 100644
--- a/src/cpu/cpu_map.xml
+++ b/src/cpu/cpu_map.xml
@@ -233,6 +233,9 @@
     <feature name='avx512f'> <!-- AVX-512 Foundation -->
       <cpuid eax_in='0x07' ebx='0x00010000'/>
     </feature>
+    <feature name='avx512dq'> <!-- AVX-512 Doubleword & Quadword Instrs -->
+      <cpuid eax_in='0x07' ebx='0x00020000'/>
+    </feature>
     <feature name='rdseed'>
       <cpuid eax_in='0x07' ebx='0x00040000'/>
     </feature>
@@ -242,6 +245,9 @@
     <feature name='smap'>
       <cpuid eax_in='0x07' ebx='0x00100000'/>
     </feature>
+    <feature name='avx512ifma'> <!-- AVX-512 Integer Fused Multiply Add -->
+      <cpuid eax_in='0x07' ebx='0x00200000'/>
+    </feature>
     <feature name='clflushopt'>
       <cpuid eax_in='0x07' ebx='0x00800000'/>
     </feature>
@@ -254,6 +260,24 @@
     <feature name='avx512cd'> <!-- AVX-512 Conflict Detection -->
       <cpuid eax_in='0x07' ebx='0x10000000'/>
     </feature>
+    <feature name='avx512bw'> <!-- AVX-512 Byte and Word Instructions -->
+      <cpuid eax_in='0x07' ebx='0x40000000'/>
+    </feature>
+    <feature name='avx512vl'> <!-- AVX-512 Vector Length Extensions -->
+      <cpuid eax_in='0x07' ebx='0x80000000'/>
+    </feature>
+
+    <feature name='avx512vbmi'> <!-- AVX-512 Vector Byte Manipulation Instrs -->
+      <cpuid eax_in='0x07' ecx='0x00000002'/>
+    </feature>
+
+    <feature name='avx512-4vnniw'> <!-- AVX-512 Neural Network Instructions -->
+      <cpuid eax_in='0x07' edx='0x00000004'/>
+    </feature>
+    <!-- AVX-512 Multiply Accumulation Single Precision -->
+    <feature name='avx512-4fmaps'>
+      <cpuid eax_in='0x07' edx='0x00000008'/>
+    </feature>
 
     <!-- Processor Extended State Enumeration sub leaf 1 -->
     <feature name='xsaveopt'>
-- 
2.9.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux