BRL-CAD
|
Single Instruction Multiple Data support. More...
Files | |
file | simd.h |
Macros | |
#define | BU_SIMD_SSE4_2 7 |
#define | BU_SIMD_SSE4_1 6 |
#define | BU_SIMD_SSE3 5 |
#define | BU_SIMD_ALTIVEC 4 |
#define | BU_SIMD_SSE2 3 |
#define | BU_SIMD_SSE 2 |
#define | BU_SIMD_MMX 1 |
#define | BU_SIMD_NONE 0 |
Functions | |
int | bu_simd_level (void) |
int | bu_simd_supported (int level) |
Single Instruction Multiple Data support.
int bu_simd_level | ( | void | ) |
Detect SIMD capabilities at runtime.
int bu_simd_supported | ( | int | level | ) |
Detect if requested SIMD capabilities are available at runtime. Returns 1 if they are, 0 if they are not.