[MPlayer-dev-eng] [PATCH] TOOLS/cpuinfo.c: correct k6_mtrr detection

Diego Biurrun diego at biurrun.de
Wed Nov 23 23:50:17 CET 2005


On Wed, Nov 23, 2005 at 08:39:17PM +0100, Guillaume POIRIER wrote:
> 
> On 11/23/05, Diego Biurrun <diego at biurrun.de> wrote:
> > On Wed, Nov 23, 2005 at 10:41:21AM +0100, Guillaume Poirier wrote:
> [..]
> > > This patch works as expected on the machines I've tested it. I'll commit
> > > it this week in no one objects.
> >
> > Good to hear.  Let me check it on my K6-III first.
> 
> Woops! I missed this. I'll make sure cpuinfo gets fixed if ever I
> broke smth. Sorry for being Yet Another Time in a rush.

Hmmmm, where did the syscall CPU flag go?

before:
diego at silver:/usr/src/mplayer/vanilla/TOOLS.bak$ ./cpuinfo 
vendor_id       : AuthenticAMD
cpu family      : 5
model           : 13
stepping        : 0
flags           : fpu vme de pse tsc msr mce cx8 pge mmx 3dnowext 3dnow
k6_mtrr
cpu MHz         : 501.170
model name      : AMD-K6(tm)-III Processor

after:
diego at silver:/usr/src/mplayer/vanilla/TOOLS$ ./cpuinfo 
vendor_id       : AuthenticAMD
cpu family      : 5
model           : 13
stepping        : 0
flags           : fpu vme de pse tsc msr mce cx8 pge mmx k6_mtrr syscall 3dnowext 3dnow
cpu MHz         : 501.168
model name      : AMD-K6(tm)-III Processor

/proc/cpuinfo:
diego at silver:/usr/src/mplayer/vanilla/TOOLS.bak$ cat /proc/cpuinfo 
vendor_id       : AuthenticAMD
cpu family      : 5
model           : 13
stepping        : 0
cpu MHz         : 501.126
model name      : AMD-K6(tm)-III Processor
flags           : fpu vme de pse tsc msr mce cx8 pge mmx syscall 3dnowext 3dnow k6_mtrr

Diego




More information about the MPlayer-dev-eng mailing list