delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/04/16/11:19:25

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:from:subject:reply-to:to:references:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=QKAZXrHAg5uDl9M6
oiyhdhPsnOU+pIF+8CvK6Xd/p/T1bLmVEovkxqg4It7XqS7mRhc0y0b0rs6VTdQX
6RWGvX4bHzUIy0K0utgDWgsW/iUpHKBvKBjL1Vc5qwWJJL5ITh9/0b1G7LxqbB3T
MH9s3i2PXAhYYuwYdOkwHEBGkVE=
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:from:subject:reply-to:to:references:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=XTgN1QZyfuZWrd/698XRc9
1orms=; b=SReeBtCIKFzub/DdFY9eSic1xWtWb3Wh/HqXP6JcFSUohjHIP2ILop
ykn1hpiohlCLNPACHk0SO3KDXqdxb9pJOztYpy6VKWjvUllFjL3EooqdYNMVHTfX
9/GPBw3XrpZGkWLZBgSTg0MI1uXD8xkxEWxkrrtjkEhdb3usk0N0s=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-1.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=calgary, Calgary, H*R:D*ca, interest
X-HELO: smtp-out-no.shaw.ca
X-Authority-Analysis: v=2.3 cv=X6B81lbe c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=yMhMjlubAAAA:8 a=vwKs4MvVSXUkRofoTO0A:9 a=iY80-muYBKI1-12c:21 a=CSBI0hxFwEhclyai:21 a=QEXdDO2ut3YA:10
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Subject: Re: Incorrect /proc/cpuinfo for AMD A6-9220
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
To: cygwin AT cygwin DOT com
References: <CAH8yC8k4U-DO0n8r_K=93jPkXCQ=qH8ZMv8CasmkN5=K3UOMLA AT mail DOT gmail DOT com> <20180413115120 DOT GA27440 AT calimero DOT vinschen DOT de> <CAH8yC8ngb9RuWkAs-Ld6qFswsh0qjfm-mrWLBTtgKM-zWjiPPw AT mail DOT gmail DOT com> <20180416075920 DOT GB2539 AT calimero DOT vinschen DOT de>
Message-ID: <9e015eb7-2b5c-38bf-99b8-41c977e7edeb@SystematicSw.ab.ca>
Date: Mon, 16 Apr 2018 09:19:09 -0600
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: <20180416075920.GB2539@calimero.vinschen.de>
X-CMAE-Envelope: MS4wfLJdN3g15UJKPFE4/mfUekU/0lJGdU1o2RFaxegMPfJeXEXT1rf+RFPiV9gTKmtUcZHdwtG7aqvPK6VNOA+yOyEA820H9/38Nu2B0Rjflfl9DpGpYslU iUpYp7j0jyT4t/BEIeNE7pIxwd3IBwAw0Sryi3tfIKLR376L9ARaYGTXul1g/5YNDa4mF22IGERF2g==
X-IsSubscribed: yes

On 2018-04-16 01:59, Corinna Vinschen wrote:
> 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:
>>>> 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.

also AMD missing flags monitor, popcnt, power management constant|invariant tsc;
AMD cache size shown is 0, instead of the sum of L2+L3; AMD cpuid level shown is
the number of standard functions, instead of the total number of standard and
extended non-zero function results

>>> 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 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?
> Whitespacing looks correct to me.  In vim speak, ts=8, sw=2.

also for vim, soft tab stop "sts=2" adds 2 spaces per tab input, avoids
backspacing if you type tabs

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019