Re: [PATCH] [ix86,x86_64] cpu features.

Andi Kleen
2004-08-13T16:11:47Z

Paweâ Sikora <pluto@pld-linux.org> writes:

> +++ linux-2.6.8-rc4/arch/i386/kernel/cpu/proc.c 2004-08-13 16:48:53.971370504 +0200
> @@ -44,8 +44,8 @@
> NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
>
> /* Intel-defined (#2) */
> - "pni", NULL, NULL, "monitor", "ds_cpl", NULL, NULL, "tm2",
> - "est", NULL, "cid", NULL, NULL, NULL, NULL, NULL,
> + "sse3", NULL, NULL, "monitor", "ds_cpl", NULL, NULL, "est",
> + "tm2", NULL, "cid", NULL, NULL, NULL, "xtpr", NULL,

You cannot just do the pni -> sse3 rename. That could break existing
applications that read /proc/cpuinfo and parse it. The only way would
be to add a new sse3 flag in addition to pni, but I guess that would
be not worth the ugly special case.

-Andi