check for !x86 platforms, otherwise the BTL benchmark doesn't compile on arm/powerpc

This commit is contained in:
Konstantinos Margaritis 2010-07-05 16:42:11 +03:00
parent 9fa4e9a098
commit 1daf9b11ba

View File

@ -44,7 +44,7 @@
#define BTL_ASM_COMMENT(X) #define BTL_ASM_COMMENT(X)
#endif #endif
#if (defined __GNUC__) && (!defined __INTEL_COMPILER) #if (defined __GNUC__) && (!defined __INTEL_COMPILER) && !defined(__arm__) && !defined(__powerpc__)
#define BTL_DISABLE_SSE_EXCEPTIONS() { \ #define BTL_DISABLE_SSE_EXCEPTIONS() { \
int aux; \ int aux; \
asm( \ asm( \