On 16 Feb 2002, Alexander Ehlert wrote:

> Hi,
>
> AFAIK there are no flags whatsoever to indicate which processor a plugin
> might use. So if someone wants to hack a plugin that uses SSE
> instructions and someone else tries to use that on a host without SSE
> support -> crash. So wouldn't it be good to add some architecture flags,
> that could be queried by the host?

Under Linux with proc filesystem support you can simply take a look at
/proc/cpuinfo, specifically the flags line.  There may even be some kind
of kernel syscall that returns the processor flags that are set/available.

Regards,

David.

Reply via email to