delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/06/19:59:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Wed, 07 May 2003 01:56:12 +0200
From: Diego Biurrun <diego AT biurrun DOT de>
Subject: /proc/cpuinfo
To: cygwin AT cygwin DOT com
Message-id: <16056.19356.89278.511821@silver.semantics.de>
MIME-version: 1.0

Hello!

The MPlayer documentation maintainer with shameless requests again ;-)

I have a few questions about /proc/cpuinfo.

On my machine I get the following output under Cygwin:

processor       : 0
vendor_id       : AuthenticAMD
type            : primary processor
cpu family      : 5
model           : 13
model name      : AMD-K6(tm)-III Processor
stepping        : 0
brand id        : 0
cpu count       : 0
apic id         : 0
cpu MHz         : 250
fpu             : yes
flags           : fpu vme de pse tsc msr mce cx8 pge mmx

which differs a bit from the output under Linux:

processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 5
model		: 13
model name	: AMD-K6(tm)-III Processor
stepping	: 0
cpu MHz		: 501.121
cache size	: 256 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr mce cx8 pge mmx syscall 3dnowext 3dnow k6_mtrr
bogomips	: 999.42


The 250MHz under Cygwin are probably a bug, I have a 500MHz CPU.

The interesting field is flags, which we use in our configure script
to check for processor capabilities and later optimize for the ones we
find.  Cygwin detects/displays less flags than Linux:

flags           : fpu vme de pse tsc msr mce cx8 pge mmx
flags		: fpu vme de pse tsc msr mce cx8 pge mmx syscall 3dnowext 3dnow k6_mtrr

This is a pity as I now loose 3dnow and mtrr optimizations without
manual tweaking.

I know that /proc/cpuinfo is very new on Cygwin.  Is the lack of some
flags a bug, or is this just implemented in a different way.  Any
chance of supporting those flags in the future?

If somebody decides to extends /proc/cpuinfo that would be
tremendously appreciated.  I'm not expecting anything, of course, just
hoping.

Many thanks

Diego


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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