diff options
author | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2012-12-17 16:55:14 +0100 |
---|---|---|
committer | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2012-12-17 16:55:14 +0100 |
commit | 6300e8ca0239ed4bfe8fbf37c5f72cb4ef3451a7 (patch) | |
tree | 563d75e51634a556fc2da1e0bd01fe687645bd69 /bench/benchGeometry.cpp | |
parent | 22e6741da9a3c05637e9ffcfc78dc2476cd017db (diff) |
replaced compiler specific __attribute__((noinline)) by EIGEN_DONT_INLINE
Diffstat (limited to 'bench/benchGeometry.cpp')
-rw-r--r-- | bench/benchGeometry.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bench/benchGeometry.cpp b/bench/benchGeometry.cpp index 7a532a846..6e16c0331 100644 --- a/bench/benchGeometry.cpp +++ b/bench/benchGeometry.cpp @@ -25,7 +25,7 @@ struct func; template <class res, class arg1, class arg2> struct func<res, arg1, arg2, TV> { - static __attribute__ ((noinline)) res run( arg1& a1, arg2& a2 ) + static EIGEN_DONT_INLINE res run( arg1& a1, arg2& a2 ) { asm (""); return a1 * a2; @@ -35,7 +35,7 @@ struct func<res, arg1, arg2, TV> template <class res, class arg1, class arg2> struct func<res, arg1, arg2, TMATV> { - static __attribute__ ((noinline)) res run( arg1& a1, arg2& a2 ) + static EIGEN_DONT_INLINE res run( arg1& a1, arg2& a2 ) { asm (""); return a1.matrix() * a2; @@ -45,7 +45,7 @@ struct func<res, arg1, arg2, TMATV> template <class res, class arg1, class arg2> struct func<res, arg1, arg2, TMATVMAT> { - static __attribute__ ((noinline)) res run( arg1& a1, arg2& a2 ) + static EIGEN_DONT_INLINE res run( arg1& a1, arg2& a2 ) { asm (""); return res(a1.matrix() * a2.matrix()); |