Re: amd3d flag listed as flag 31

Jauder Ho (jauderho@transmeta.com)
Sat, 12 Dec 1998 13:44:25 -0800 (PST)


I'll send Linus a quickie patch to do this. There is code that works
around the CPU types. I know coz I put it in :). Flag 31 will be listed as
3dnow minus the ! as hpa suggested.

I'm also going to remove the PR rating from the model name since we now
have megahertz detection and PR ratings are stupid and inaccurate in any
case.

--Jauder

On 12 Dec 1998, H. Peter Anvin wrote:

> Followup to: <19981211103854.A11723@daemon.xs4all.nl>
> By author: Thomas Wouters <thomas@xs4all.nl>
> In newsgroup: linux.dev.kernel
> >
> > If you wish for your kernel to show '3dnow!' instead of '31', you can change
> > the string in that piece of code. I suspect, however, that it isn't done in
> > the stock kernel because flag 31 isn't 'officially' 3dnow!, and intel might
> > use it for itself in some way (and screw 3dnow! drivers/applications that
> > dont check if the cpu is, indeed, an AMD.) -- This is just a guess though, I
> > dont know enough about ia32 and who specifies what to say anything
> > meaningful about it.
> >
> > (Note that changing 31 into 3dnow! _could_ break code that checks if flag 31
> > is set by reading /proc/cpuinfo. I dont know of any such code and it'd be
> > silly code anyway (because who knows what the flag will be named in later
> > kernels) but I'll mention it none the less :)
> >
>
> Please, no exclamation points!
>
> -hpa
> --
> PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
> See http://www.zytor.com/~hpa/ for web page and full PGP public key
> I am Bahá'í -- ask me about it or see http://www.bahai.org/
> "To love another person is to see the face of God." -- Les Misérables
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
>
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/