[haiku-development] Re: how to get CPU features like SSE, etc
- From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Sat, 07 Nov 2009 12:18:54 +0100
Konstantinos Margaritis <markos@xxxxxxxx> wrote: > Is there some well-defined API that reports the hardware > characteristics of the CPU on Haiku? > In particular I want to find out what SIMD extensions it supports > etc. > On Linux I can use HW_CAP from glibc -which is not really an elegant > solution, but it works. 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. Bye, Axel.
- Follow-Ups:
- [haiku-development] Re: how to get CPU features like SSE, etc
- From: Konstantinos Margaritis
- [haiku-development] Re: how to get CPU features like SSE, etc
- References:
- [haiku-development] how to get CPU features like SSE, etc
- From: Konstantinos Margaritis
- [haiku-development] how to get CPU features like SSE, etc
Other related posts:
- » [haiku-development] how to get CPU features like SSE, etc - Konstantinos Margaritis
- » [haiku-development] Re: how to get CPU features like SSE, etc - Axel Dörfler
- » [haiku-development] Re: how to get CPU features like SSE, etc - Konstantinos Margaritis
- » [haiku-development] Re: how to get CPU features like SSE, etc - David McPaul
- » [haiku-development] Re: how to get CPU features like SSE, etc - Urias McCullough
- » [haiku-development] Re: how to get CPU features like SSE, etc - Konstantinos Margaritis
- » [haiku-development] Re: how to get CPU features like SSE, etc - Stefano Ceccherini