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

Alex Beregszaszi alex at fsn.hu
Tue Oct 14 12:28:41 CEST 2003


Hi,

> 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

>                 { -1 }
>         };

-- 
Alex Beregszaszi <alex at fsn.hu>
(MPlayer Core Developer -- http://www.mplayerhq.hu/)



More information about the MPlayer-dev-eng mailing list