[PATCH] fhandler_proc.cc:format_proc_cpuinfo add rdpru flag
Corinna Vinschen
corinna-cygwin@cygwin.com
Thu Jan 23 12:44:00 GMT 2020
On Jan 23 02:06, Brian Inglis wrote:
> rdpru flag is cpuid xfn 80000008 ebx bit 4 added in linux 5.5;
> see AMD64 Architecture Programmerâs Manual Volume 3:
^^^^^^^^^
This came over already broken. No idea if that's a problem of
your MUA or of the mailing list software. I fixed it to an
ordinary quote char locally.
> General-Purpose and System Instructions
> https://www.amd.com/system/files/TechDocs/24594.pdf#page=329
> and elsewhere in that document
>
> ---
> winsup/cygwin/fhandler_proc.cc | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc
> index 8c331f5f4..78a69703d 100644
> --- a/winsup/cygwin/fhandler_proc.cc
> +++ b/winsup/cygwin/fhandler_proc.cc
> @@ -1255,6 +1255,7 @@ format_proc_cpuinfo (void *, char *&destbuf)
> ftcprint (features1, 0, "clzero"); /* clzero instruction */
> ftcprint (features1, 1, "irperf"); /* instr retired count */
> ftcprint (features1, 2, "xsaveerptr"); /* save/rest FP err ptrs */
> + ftcprint (features1, 4, "rdpru"); /* user level rd proc reg */
> /* ftcprint (features1, 6, "mba"); */ /* memory BW alloc */
> ftcprint (features1, 9, "wbnoinvd"); /* wbnoinvd instruction */
> /* ftcprint (features1, 12, "ibpb" ); */ /* ind br pred barrier */
> --
> 2.21.0
Pushed.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20200123/490e620b/attachment.sig>
More information about the Cygwin-patches
mailing list