[haiku-development] Re: how to get CPU features like SSE, etc

2009/11/7 Konstantinos Margaritis <markos@xxxxxxxx>:
> On Nov 7, 2009, at 1:18 PM, Axel Dörfler wrote:
>>
>> Currently, the only solution is to use the get_cpuid() function from
>> userland.
>> You can have a look at src/bin/sysinfo.c on how to retrieve the info
>> you are interested in.

I also have the beginnngs of a CpuCapabilities class committed in the
ffmpeg media add-on.

It needs more work but it could eventually be promoted to a more
common place for more people to use.  gfx_util.cpp has an example of
it's use.

-- 
Cheers
David

Other related posts: