From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 110311 invoked by alias); 14 Apr 2018 15:08:21 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 110302 invoked by uid 89); 14 Apr 2018 15:08:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=H*Ad:D*ca, Via, Specification, H*r:ip*192.168.1.100 X-HELO: smtp-out-so.shaw.ca Received: from smtp-out-so.shaw.ca (HELO smtp-out-so.shaw.ca) (64.59.136.139) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 14 Apr 2018 15:08:18 +0000 Received: from [192.168.1.100] ([24.64.240.204]) by shaw.ca with ESMTP id 7MmkfqH20YxCT7MmlfH4EK; Sat, 14 Apr 2018 09:08:16 -0600 X-Authority-Analysis: v=2.3 cv=cav8UELM c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=7vT8eNxyAAAA:8 a=pGLkceISAAAA:8 a=w_pzkKWiAAAA:8 a=yMhMjlubAAAA:8 a=zd2uoN0lAAAA:8 a=a4NEJbfMAAAA:8 a=lqXA0cpKH03qwY_CP90A:9 a=QEXdDO2ut3YA:10 a=Mzmg39azMnTNyelF985k:22 a=sRI3_1zDfAgwuvI8zelB:22 Reply-To: Brian.Inglis@SystematicSw.ab.ca Subject: Re: failure notice References: <5ad17051.cf55650a.73c5d.c3e7SMTPIN_ADDED_MISSING@mx.google.com> To: cygwin@cygwin.com From: Brian Inglis Message-ID: Date: Sat, 14 Apr 2018 15:08:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfATkj0HU8e/85H0Snc25qkAUpO2sZd47UnFa/AEMvGZJjr9jdBh6ukI4zrKsiIS6dJMLOgR45WTwXioCysbyTFELuHz12U5PAuvwcEOb0V2Xz9qGJJ8Z /5zpX7dUtcTIYVQFlEdDvXw7We03uoWXdNt20xRpWyxsbl1Nn0F+mb+i728yuqjHLmHxb4fhz9indQ== X-IsSubscribed: yes X-SW-Source: 2018-04/txt/msg00164.txt.bz2 On 2018-04-13 23:00, R0b0t1 wrote: > On Fri, Apr 13, 2018 at 10:51 PM, Brian Inglis > wrote: >> On 2018-04-13 21:10, Jeffrey Walton wrote: >>>> On Fri, Apr 13, 2018 at 8:36 PM, Jeffrey Walton wrote: >>>>> On Fri, Apr 13, 2018 at 7:51 AM, Corinna Vinschen >>>>> wrote: >>>>>> On Apr 12 23:01, Jeffrey Walton wrote: >>>>>>> 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! I noticed that AMD cpuinfo lost cache size info at some point in the past. >>>>> Thanks Corinna. I think I found the file of interest at fhandler_proc.cc. >>>>> Whitespace is a bit off. It is a mix of tabs and space: >>>>> if (features1 & (1 << 0)) >>>>> print (" fpu"); >>>>> if (features1 & (1 << 1)) >>>>> print (" vme"); >>>>> Should I perform a whitespace check-in before things begin? Or can you >>>>> knock it out? >>>> The attachment is pp 572-74 from AMD's Programmer's Guide, Volume 3, >>>> General-Purpose and System Instructions (December 2017) >>>> (https://support.amd.com/TechDocs/24594.pdf). I believe it has the all >>>> the necessary information. >>>> Are there any objections to using it? How else could AMD cpuid function results be decoded? See also Appendix E Obtaining Processor Information Via the CPUID Instruction. >>> Any ideas how to get this through? It is a three page PDF extracted from the >>> AMD manual. It has the necessary information for the CPUID updates. >> Just include the link to Appendix D section 2 from the ToC: >> https://support.amd.com/TechDocs/24594.pdf#G14.931059 PDF readers e.g. {mu,q,x}pdf, gv, gsview, normally have ways to extract pages in other formats; otherwise copy and paste can be used, preferably to a spreadsheet program to handle tables properly, before saving in another format. > He may be concerned about the longterm availability of the referenced passages. That document has snapshots on the Wayback machine at archive.org; but see Appendix E Obtaining Processor Information Via the CPUID Instruction ibid. https://support.amd.com/TechDocs/24594.pdf#G15.998445 "The information in this appendix supersedes the contents of the CPUID Specification, order #25481, which is now obsolete." One of the nice features of the amd64 cpuid instruction is that the architecture is augmented to add meaning to formerly undefined or reserved functions, fields, or bits, that can be used efficiently as specified, unlike the adhoc approaches and lookups required for some i64 info. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple