aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/btl
diff options
context:
space:
mode:
authorGravatar Konstantinos Margaritis <markos@codex.gr>2010-07-05 16:42:11 +0300
committerGravatar Konstantinos Margaritis <markos@codex.gr>2010-07-05 16:42:11 +0300
commit1daf9b11ba6f47fceaf8cd55078d26baa3352590 (patch)
tree15ba43f9caabc21b6cc35b6c6e3153a6ef35d177 /bench/btl
parent9fa4e9a098630eb6196859ff11fefa9f758070d7 (diff)
check for !x86 platforms, otherwise the BTL benchmark doesn't compile on arm/powerpc
Diffstat (limited to 'bench/btl')
-rw-r--r--bench/btl/generic_bench/btl.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/btl/generic_bench/btl.hh b/bench/btl/generic_bench/btl.hh
index b5838ba94..17cd397a1 100644
--- a/bench/btl/generic_bench/btl.hh
+++ b/bench/btl/generic_bench/btl.hh
@@ -44,7 +44,7 @@
#define BTL_ASM_COMMENT(X)
#endif
-#if (defined __GNUC__) && (!defined __INTEL_COMPILER)
+#if (defined __GNUC__) && (!defined __INTEL_COMPILER) && !defined(__arm__) && !defined(__powerpc__)
#define BTL_DISABLE_SSE_EXCEPTIONS() { \
int aux; \
asm( \