35 |
static void enableDenormalsAreZeroMode(); |
static void enableDenormalsAreZeroMode(); |
36 |
static String featuresAsString(); |
static String featuresAsString(); |
37 |
|
|
38 |
#if ARCH_X86 |
#if CONFIG_ASM && ARCH_X86 |
39 |
inline static bool supportsMMX() { return bMMX; } |
inline static bool supportsMMX() { return bMMX; } |
40 |
inline static bool supportsSSE() { return bSSE; } |
inline static bool supportsSSE() { return bSSE; } |
41 |
inline static bool supportsSSE2() { return bSSE2; } |
inline static bool supportsSSE2() { return bSSE2; } |
42 |
#endif // ARCH_X86 |
#endif // CONFIG_ASM && ARCH_X86 |
43 |
private: |
private: |
44 |
#if ARCH_X86 |
#if CONFIG_ASM && ARCH_X86 |
45 |
static bool bMMX; |
static bool bMMX; |
46 |
static bool bSSE; |
static bool bSSE; |
47 |
static bool bSSE2; |
static bool bSSE2; |
48 |
#endif // ARCH_X86 |
#endif // CONFIG_ASM && ARCH_X86 |
49 |
}; |
}; |
50 |
|
|
51 |
#endif // __FEATURES_H__ |
#endif // __FEATURES_H__ |