[newlib-cygwin] fhandler/proc.cc(format_proc_cpuinfo): add Linux 6.1 cpuinfo

Corinna Vinschen corinna@sourceware.org
Fri Dec 23 09:14:52 GMT 2022


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

commit 8a003605c1df0d43ab30258667107c467e0b499c
Author:     Brian Inglis <Brian.Inglis@Shaw.ca>
AuthorDate: Thu Dec 22 13:26:09 2022 -0700
Commit:     Corinna Vinschen <corinna@vinschen.de>
CommitDate: Fri Dec 23 10:03:23 2022 +0100

    fhandler/proc.cc(format_proc_cpuinfo): add Linux 6.1 cpuinfo
    
    Intel 0x00000007:1 EAX:26 lam   Linear Address Masking (& recent entries)

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 332bf2a7ea21..181652a0867a 100644
--- a/winsup/cygwin/fhandler/proc.cc
+++ b/winsup/cygwin/fhandler/proc.cc
@@ -1475,6 +1475,10 @@ 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,  7, "cmpccxadd"); */ /* CMPccXADD instructions */
+/*	  ftcprint (features1, 21, "amx_fp16");	 */ /* AMX fp16 Support */
+/*	  ftcprint (features1, 23, "avx_ifma");	 */ /* Support for VPMADD52[H,L]UQ */
+	  ftcprint (features1, 26, "lam");	    /* Linear Address Masking */
 	}
 
       /* AMD cpuid 0x80000008 ebx */


More information about the Cygwin-cvs mailing list