aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/basicbenchmark.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2008-07-08 17:20:17 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2008-07-08 17:20:17 +0000
commit77a622f2bb3356ee005a9413f6436373ec06efc2 (patch)
tree14b044c01f19c01102cc275e93e3e6abb6923a39 /bench/basicbenchmark.cpp
parent6f09d3a67d333d68e7c971147ec77600e86e93f3 (diff)
add Cholesky and eigensolver benchmark
Diffstat (limited to 'bench/basicbenchmark.cpp')
-rw-r--r--bench/basicbenchmark.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/bench/basicbenchmark.cpp b/bench/basicbenchmark.cpp
index 25101270e..bd500c06a 100644
--- a/bench/basicbenchmark.cpp
+++ b/bench/basicbenchmark.cpp
@@ -4,19 +4,7 @@
int main(int argc, char *argv[])
{
- // disable floating point exceptions
- // this leads to more stable bench results
- // (this is done by default by ICC)
- #ifndef __INTEL_COMPILER
- {
- int aux;
- asm(
- "stmxcsr %[aux] \n\t"
- "orl $32832, %[aux] \n\t"
- "ldmxcsr %[aux] \n\t"
- : : [aux] "m" (aux));
- }
- #endif
+ DISABLE_SSE_EXCEPTIONS();
// this is the list of matrix type and size we want to bench:
// ((suffix) (matrix size) (number of iterations))