public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org>
To: cygwin-cvs@sourceware.org
Subject: [newlib-cygwin] fhandler_proc.cc(format_proc_cpuinfo): add Linux 5.16 Gobble Gobble flags
Date: Wed, 12 Jan 2022 18:44:39 +0000 (GMT)	[thread overview]
Message-ID: <20220112184439.4213C3858406@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=bd179c36bf148091171cbf866e31a2ef6e5de7b1

commit bd179c36bf148091171cbf866e31a2ef6e5de7b1
Author: Brian Inglis <Brian.Inglis@SystematicSW.ab.ca>
Date:   Tue Jan 11 23:04:31 2022 -0700

    fhandler_proc.cc(format_proc_cpuinfo): add Linux 5.16 Gobble Gobble flags
    
    0x00000007:1 Intel Advanced Matrix eXtensions:
                     EAX:22 amx_bf16 Brain Float 16 dot product
                     EAX:24 amx_tile Tile matrix multiply
                     EAX:25 amx_int8 Int 8 byte dot product
    0x80000008:0 AMD EBX:27 cppc      Collaborative Processor Performance Control

Diff:
---
 winsup/cygwin/fhandler_proc.cc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc
index 6ec6f8bc4..d51f171a3 100644
--- a/winsup/cygwin/fhandler_proc.cc
+++ b/winsup/cygwin/fhandler_proc.cc
@@ -1456,6 +1456,9 @@ format_proc_cpuinfo (void *, char *&destbuf)
 
 	  ftcprint (features1,  4, "avx_vnni");	    /* vex enc NN vec */
 	  ftcprint (features1,  5, "avx512_bf16");  /* vec bfloat16 short */
+	  ftcprint (features1, 22, "amx_bf16");	    /* Advanced Matrix eXtensions Brain Float 16 dot product */
+	  ftcprint (features1, 24, "amx_tile");	    /* Advanced Matrix eXtensions Tile matrix multiply */
+	  ftcprint (features1, 25, "amx_int8");	    /* Advanced Matrix eXtensions Int 8 byte dot product */
 	}
 
       /* AMD cpuid 0x80000008 ebx */
@@ -1479,6 +1482,7 @@ format_proc_cpuinfo (void *, char *&destbuf)
 /*	  ftcprint (features1, 24, "ssbd"); */	    /* spec store byp dis */
 	  ftcprint (features1, 25, "virt_ssbd");    /* vir spec store byp dis */
 /*	  ftcprint (features1, 26, "ssb_no"); */    /* ssb fixed in hardware */
+	  ftcprint (features1, 27, "cppc");	    /* collab proc perf ctl */
         }
 
       /* thermal & power cpuid 0x00000006 eax */


                 reply	other threads:[~2022-01-12 18:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220112184439.4213C3858406@sourceware.org \
    --to=corinna@sourceware.org \
    --cc=cygwin-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).