rtasm_cpu.h File Reference

Runtime detection of CPU capabilities. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int rtasm_cpu_has_sse (void)
int rtasm_cpu_has_sse2 (void)


Detailed Description

Runtime detection of CPU capabilities.

Definition in file rtasm_cpu.h.


Function Documentation

int rtasm_cpu_has_sse ( void   ) 

Definition at line 49 of file rtasm_cpu.c.

00050 {
00051    /* FIXME: actually detect this at run-time */
00052 #if defined(PIPE_ARCH_X86)
00053    return rtasm_sse_enabled();
00054 #else
00055    return 0;
00056 #endif
00057 }

int rtasm_cpu_has_sse2 ( void   ) 

Definition at line 59 of file rtasm_cpu.c.

00060 {
00061    /* FIXME: actually detect this at run-time */
00062 #if defined(PIPE_ARCH_X86)
00063    return rtasm_sse_enabled();
00064 #else
00065    return 0;
00066 #endif
00067 }


Generated on Tue Sep 29 06:25:24 2009 for Gallium3D by  doxygen 1.5.4