This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
[PATCH v3 00/10] fhandler_proc.cc(format_proc_cpuinfo): fix issues, add fields, feature flags
- From: Brian Inglis <Brian dot Inglis at SystematicSW dot ab dot ca>
- To: Cygwin Patches <cygwin-patches at cygwin dot com>
- Cc: Brian Inglis <Brian dot Inglis at SystematicSW dot ab dot ca>
- Date: Mon, 7 Oct 2019 10:22:57 -0600
- Subject: [PATCH v3 00/10] fhandler_proc.cc(format_proc_cpuinfo): fix issues, add fields, feature flags
- References: <20191005222328.57805-1-Brian.Inglis@SystematicSW.ab.ca>
- Reply-to: Cygwin Patches <cygwin-patches at cygwin dot com>
* fix cache size return code handling and make AMD/Intel code common
* fix cpuid level count as number of non-zero leafs excluding sub-leafs
* fix AMD physical cores count documented as core_info low byte + 1
* round cpu MHz to correct Windows and match Linux cpuinfo
* add bogomips which has been cpu MHz*2 since Pentium MMX
* add microcode from Windows registry Update Revision REG_BINARY
* feature test print macro makes cpuid feature, bit, and flag text
comparison and checking easier;
handle as common former Intel only feature flags also supported on AMD;
change order and some flag names to agree with current Linux
* add 99 feature flags inc. AVX512 extensions, AES, SHA with 20 cpuid calls
* comment out flags not reported by Linux in cpuinfo although some flags
may not be used by Linux
* or model extension bits into high model bits instead of adding
arithmetically like family extension bits
winsup/cygwin/fhandler_proc.cc | 737 +++++++++++++++++++--------------
1 file changed, 434 insertions(+), 303 deletions(-)
--
2.21.0