aha <[EMAIL PROTECTED]> wrote:
>
>Dose anyone know of a cross-platform method for determining the vendor
>of a processor?  Under linux I can check /proc/cpuinfo.  What I'd like
>to be able to do is determine if a processor is AMD or Intel, so that
>I can use the appropriate numerical libraries for my application.

If you have a numerical library that uses processor-specific instructions,
then the library must be in C with assembler.  If so, just add another
function that does a "cpuid" instruction and return the results.
-- 
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to