X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=OsHmmTwaBNi3GwKg90hn6GNE2COCzZGmrRGnP5Y+tjBadBcuBerHe +MgjYUL225DMZKliOwqgTbgV710dpdtXxbkM5LzY0oAmHokiusYVqUZhyohjDySH Eo8LNyoOmY0lMqDkMjzMUxsMrbWi1uasJAdRxihAb7+xld/7h8qgIE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=q4dkSk6tOk6/vlbR72t/1UEIw3s=; b=oIyoA0vz7T9WlHlqQ9l5n7DDr5nv wa1ZfT5e+T6ofzAEfFFRUJGkssowMjmor0ylyciTigambgoNkteMWeTTEAwPHtdm cDl4UIk2CgVNNtmohn8skwQkSHDRSwfexTai2r4Vq2H3+wPV7tub3WPO5RRU3Hp7 Pmlk0tnO+TtIJdo= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-101.1 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=knock, interest X-HELO: mout.kundenserver.de Date: Mon, 16 Apr 2018 09:59:20 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Incorrect /proc/cpuinfo for AMD A6-9220 Message-ID: <20180416075920.GB2539@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20180413115120 DOT GA27440 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="X1bOJ3K7DJ5YkBrT" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) X-UI-Out-Filterresults: notjunk:1;V01:K0:hozdIF3p+VY=:4wlUHIbLXnPtZLAMgPZphI pizcBMp6pV5DMfWV9MCNdOWbs9Kl0GhwC2IlFx4ypupyCsN5mwWE0pavfofpYkKjacUG70b39 L/Pza2dwwzbqd8y4eyJm4mo6uIbT+5Sk0iIyfX4TBRSVg++Qz+JmlXKE3UjTtz7QAm8Ejrip5 vz9FfK5a1DaWNz7YyKsjWdcHK9sQNwkRJtEj3mkNqM6r6Y8vNkAEFyPsyK0eCa7nwbPmakEjz asA1yl2s4wosrm5Ye78m0CoQZTTIJ5lkZihNZL2WpdYPrqbrcCksurXfYtLMjCLLI1ZIpgRT5 zxxqCjiWSOT9ZVu1tSf/JwOSnmMibk1BtczRQZv+7rAG13PaVz1fmdbaP3Z/+/4CdSJ66ySlt LqbBvVfIVdW3hURoMXZQz68iatsHJd1sMFpm+WVZEBu2dzpv77ymcEgptIy4Ld2x8ESwlQcs1 RxT4iWX5LGQ2rNNPah3gaSngQoBWI9TK3nRkvEpOdIrHAmrUZI9a/CFtU7AVwVi8GLL8lO+tb WCe8nnEejx+dsBdLyso5qCHlSUBOvubpZqG3+7MRxI29daXtkULDUe7QN0W5SokGRbi9dqOAl +XllwbFHIBCUXAFC5kdZAh+iwjuFensThL5IMML2eEAwejrETS2rWfWn72KUDBe3naENYHcvu KH5iX0y0TEr3qsNyPyT+hEgsD7PpU08l49m8cX/iexemcezEIYQ7ImpOzOIeEcqyfpZ5d9Az8 ERXbBR3JRI5sywe9Sj77hbZZZjUvA857/f0UlA== --X1bOJ3K7DJ5YkBrT Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Apr 13 20:36, Jeffrey Walton wrote: > On Fri, Apr 13, 2018 at 7:51 AM, Corinna Vinschen > wrote: > > On Apr 12 23:01, Jeffrey Walton wrote: > >> Hi Everyone, > >> > >> I'm working on an AMD A6-9220 and seeing unusual results from > >> /proc/cpuinfo. I think this may be an issue with the latest Cygwin. It > >> may be present in earlier versions, too. > >> > >> Russinovich's coreinfo is shown below > >> (https://docs.microsoft.com/en-us/sysinternals/downloads/coreinfo). > >> Notice /proc/cpuinfo is missing aesni, pclmul, rdrand, SSE4.1, SSE4.2, > >> AVX, etc. > > > > Note that, in theory, cpuinfo has to be extended for each new CPU > > generation. That's a lot of work for marginal gain (Cygwin's not a real > > kernel) so I'm doing this only very seldomly. > > > > Patches welcome, of course! >=20 > Thanks Corinna. I think I found the file of interest at fhandler_proc.cc. >=20 > Whitespace is a bit off. It is a mix of tabs and space: >=20 > if (features1 & (1 << 0)) > print (" fpu"); > if (features1 & (1 << 1)) > print (" vme"); >=20 > Should I perform a whitespace check-in before things begin? Or can you > knock it out? Whitespacing looks correct to me. In vim speak, ts=3D8, sw=3D2. Just add what you think is missing (make sure it matches AMD/Intel), but stick to the whitespacing of the existing code. Please check https://cygwin.com/contrib.html. Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --X1bOJ3K7DJ5YkBrT Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlrUV9gACgkQ9TYGna5E T6BKCxAAj7lzea3F+7PVaZe6VkLNJtaWZgWqjDxCu/EjR4Ejz54dTVT5p7wk5TVq J7DyrLbYTuKe4CW0YNlV9kpzCAlY8OTDO9uS9JbAbVvk0kc4tPhjtHsBUyl1Bl3Y BaTHV/kTT5I6F6L9pYdvEHMEWc+0v5GpwxLHt+a9D0LGB1C1k7nW+GOhNECLANqf UQtjXC0G5r4nfK7VwgF+tLAfCU/zxmvH616Jc2DuBaHUScxL+qKt2Kzaesr0nIN4 Hr6YK1y/iJTh/oPVtBRSfy5Z+JPJ1RfAdgZ/kpIgEF32H9lkdZQJtSN4kr02lywh nsD6p2HDgAs0nJowhDtx7JiOJb3W6HJla8p3uAofqgjAeEDnYS+ER3a4+cAVXIvR N2PiebJ3BjExx5rQgX2d66Sxtmwzb1l7B+azC7L7u/3NI2ABVOZ+YaKlvu7TAFkZ IEUEP7lZu6JP9Hkeb4JDFUIjD8XrQzEuY6VHt0A3cseev8/n3Xleei7j79/PkENv 5ZiKxp3UN2b5ghBhXgpX6ru78gPQjqIDjy8f9DHsOqmjlX1asD+jPbgVJFCT48V3 VegXBFFbTdqw7XzBqT3EDxI+cVQ87sBpkX+5VtosmsfWtDeEzIh+FX8NU9OZzB4H rl1WN89M9bsJRvmueX1vrVDcICu3jpMgyQBV1wja4sUYzCmErJQ= =8zc9 -----END PGP SIGNATURE----- --X1bOJ3K7DJ5YkBrT--