Re: Algorithm for CPU_X86

Ghozlane Toumi (ghoz@sympatico.ca)
Tue, 4 Jun 2002 00:28:53 -0400


On Monday 03 June 2002 23:18, J.A. Magallon wrote:
> Hi all...
> So the algorithm can be easy (i think..)
> - Enable all feature flags (say, MMX and 3DNOW)
> - Disable all bugfix flags (FENCE)
> - For each CPU
> if it does not have the feature, kill it
> (if VENDOR_INTEL set 3DNOW=n)
> if this-cpu-kernel could run on buggy-cpu, enable fix
> (if GENERIC_586 set FENCE=y)
>
> Right ?

What if the next wizz-bang processor as a great new feature ?
You'd have to disable it for *all* the previous CPUs...

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