Re: [eigen] Re: Strong inlining is sometimes ignored...

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]



that's not a good new. What about this simple example:

#include <Eigen/Eigen>
using namespace Eigen;

template<typename T>
EIGEN_STRONG_INLINE void funca(T* a, T* b)
{
  ei_pstore(a,ei_padd(ei_pload(a),ei_pload(b)));
}

int main(){
  funca<double>(0,0);
}

if it compiles fine then we can try to add a few more indirections...

gael..


On Wed, Oct 14, 2009 at 5:22 PM, Hauke Heibel <hauke.heibel@xxxxxxxxxxxxxx> wrote:
Ok, some more infos.

The issue is SSE specific, i.e. with 32bit builds and neither /arch:SSE nor /arch:SSE2 set, the warning disappears.

Furthermore, it does not only occure in Redux.h - compiling the unit tests in release with SSE reveals all occurences. Please remember that this issue is currently only proven to occur on VC9. I attached an incomplete list of reports generated by compiling parts of the unit tests.

Regards,
Hauke





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/