Subject: Re: Checking for CPU feature from userland
To: None <adrien.dessemond@softhome.net, jtb@kurwenal.com>
From: Ross Harvey <ross@ghs.com>
List: port-i386
Date: 04/22/2001 17:19:16
Well, actually, pretty much all of those tricks are already in the
NetBSD sources for anyone to read.
Mostly, they are in locore.s, but a few are over in npx.c.
Tron knew all that tho, but just wanted a hypothetical easy
MMX test that none of us have been able to give him.
//
> From: Adrien Dessemond <adrien.dessemond@softhome.net>
> There were some tricks to detect which CPU you have
> (even if does not support CPUID). If you search around...
> :::
>
>
> From: Jason Beegan <jtb@kurwenal.com>
>
> There's an interesting (but dated) Dr. Dobb's Journal article on
> detecting Intel processors at
>
> http://www.rcollins.org/ddj/Sep96/Sep96.html
>