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

2009/11/7 Konstantinos Margaritis <markos@xxxxxxxx>:

>> 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.
>
> I think also a C API would be of equal importance -not all applications are
> written in C++, and it would be consistent as well -same values for the
> #defines, etc.

+1, definitely. Especially since it could be useful for drivers, also.

Other related posts: