Registered Member
|
This is more a bug report than an actual question.
When setting MSVC to warning level 4 and compiling a project using eigen the warning 4714 often shows up. It says that functions that are marked for inlining are not inlined (even in spite of forceinline). The reasons for that behaviour are given here: http://msdn.microsoft.com/en-us/library/a98sb923(VS.80).aspx A helpful comment about it is found in the comments on that page: http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=305046 Just to make you aware that not everything is actually inlined by MSVC that should be inlined. |
Registered Member
|
Yes, we are aware of that problem. So far it was pretty much a mystery to us. Your 2nd link is very interesting, it shows why we hit this problem (SSE intrinsics used at the end of a long chain of inlined functions) and the first comment there from Microsoft acknowledges this as a MSVC bug, and says it's likely getting fixed in the next version. Great!
Join us on Eigen's IRC channel: #eigen on irc.freenode.net
Have a serious interest in Eigen? Then join the mailing list! |
Registered Member
|
I tried the hack of inserting SSE data types into the outermost function calls to enforce enlignment - unfortunately it did not seem to work.
Anyways thanks for the links, they were really interesting. - Hauke |
Registered Member
|
When I can't contribute through code, I at least try to be helpful otherwise |
Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]