[libvirt] [PATCH] cpu_map/x86: Add support for BFLOAT16 data type

Jiri Denemark jdenemar at redhat.com
Fri Dec 13 16:27:13 UTC 2019


Introduced in QEMU by commit v4.1.0-266-g80db491da4.

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

diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml
index b42b490160..eefb55067e 100644
--- a/src/cpu_map/x86_features.xml
+++ b/src/cpu_map/x86_features.xml
@@ -339,6 +339,10 @@
     <cpuid eax_in='0x07' ecx_in='0x00' edx='0x80000000'/>
   </feature>
 
+  <feature name='avx512-bf16'>
+    <cpuid eax_in='0x07' ecx_in='0x01' eax='0x00000020'/>
+  </feature>
+
   <!-- Processor Extended State Enumeration sub leaf 1 -->
   <feature name='xsaveopt'>
     <cpuid eax_in='0x0d' ecx_in='0x01' eax='0x00000001'/>
-- 
2.24.1




More information about the libvir-list mailing list