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

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Wed Nov 23 23:55:15 CET 2005


On Wednesday, 23 November 2005 at 23:50, Diego Biurrun wrote:
> 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?

What do you mean?
 
> 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

It wasn't there before.

> 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

And now it's there.

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

As is in /proc/cpuinfo, only in different position.

R.

-- 
MPlayer RPMs maintainer: http://rpm.greysector.net/mplayer/
"I am Grey. I stand between the candle and the star. We are Grey.
 We stand between the darkness ... and the light."
        -- Delenn in Grey Council in Babylon 5:"Babylon Squared"




More information about the MPlayer-dev-eng mailing list