This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Incorrect /proc/cpuinfo for AMD A6-9220

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
> >> (
> >> 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!
> Thanks Corinna. I think I found the file of interest at
> 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.

Just add what you think is missing (make sure it matches AMD/Intel),
but stick to the whitespacing of the existing code.  Please check


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: signature.asc
Description: PGP signature

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]