aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/benchGeometry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/benchGeometry.cpp')
-rw-r--r--bench/benchGeometry.cpp6
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());