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

Jiri Denemark posted 1 patch 4 years, 4 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/ddf51d05a3a9252a989771caf5a83ce9b7a20085.1576254433.git.jdenemar@redhat.com
src/cpu_map/x86_features.xml | 4 ++++
1 file changed, 4 insertions(+)
[libvirt] [PATCH] cpu_map/x86: Add support for BFLOAT16 data type
Posted by Jiri Denemark 4 years, 4 months ago
Introduced in QEMU by commit v4.1.0-266-g80db491da4.

Signed-off-by: Jiri Denemark <jdenemar@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

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

Re: [libvirt] [PATCH] cpu_map/x86: Add support for BFLOAT16 data type
Posted by Ján Tomko 4 years, 4 months ago
On Fri, Dec 13, 2019 at 05:27:13PM +0100, Jiri Denemark wrote:
>Introduced in QEMU by commit v4.1.0-266-g80db491da4.

Please delete the trailing dot, to make selecting the commit ID easier.

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

Reviewed-by: Ján Tomko <jtomko@redhat.com>

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