[MPlayer-dev-eng] TOOLS/cpuinfo.c and k6_mtrr

Diego Biurrun diego at biurrun.de
Tue Oct 14 14:20:12 CEST 2003


On Tue, Oct 14, 2003 at 12:28:41PM +0200, Alex Beregszaszi wrote:
> > TOOLS/cpuinfo does not detect MTRR on K6, but k6_mtrr does show up on
> > /proc/cpuinfo.  I did some digging around the Linux kernel sources and
> > found this in include/asm-i386/cpufeature.h:
> 
> [snip]
> 
> >         static struct {
> >                 int bit;
> >                 char *desc;;
> >                 char *description;
> >         } cap_amd[] = {
> >                 { 22, "mmxext","MMX Technology (AMD Extensions)" },
> >                 { 30, "3dnowext","3Dnow! Extensions" },
> >                 { 31, "3dnow", "3Dnow!" },
>                    { 32, "mtrr", "Memory Type Range Registers" },
> ^^ insert it here

OK, but I used k6_mtrr, that's what /proc/cpuinfo reports and it is also
recognized by configure:

                   { 32, "k6_mtrr", "Memory Type Range Registers" },

Committed this.
Thanks

Diego



More information about the MPlayer-dev-eng mailing list