Re: [linux-audio-dev] MMX, SSE, SSE2, 3DNOW

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] MMX, SSE, SSE2, 3DNOW
From: David Burrows (snadge_AT_ugh.net.au)
Date: Sun Feb 17 2002 - 04:06:07 EET


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.


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sun Feb 17 2002 - 03:59:30 EET