[Bug c++/62080] Suboptimal code generation with eigen library

2014-08-11 Thread beschindler at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62080 --- Comment #4 from Benjamin Schindler beschindler at gmail dot com --- (In reply to Marc Glisse from comment #2) (note that a minimal, self-contained testcase would be much better and shouldn't be hard to produce) I don't mind doing so

[Bug c++/62080] New: Suboptimal code generation with eigen library

2014-08-10 Thread beschindler at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: beschindler at gmail dot com Created attachment 33281 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33281action=edit Source code used to get the provided assembly I'm currently optimizing some code using the eigen

[Bug c++/62080] Suboptimal code generation with eigen library

2014-08-10 Thread beschindler at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62080 --- Comment #1 from Benjamin Schindler beschindler at gmail dot com --- Created attachment 33282 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33282action=edit Generated assembly in full

[Bug c++/62080] Suboptimal code generation with eigen library

2014-08-10 Thread beschindler at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62080 --- Comment #3 from Benjamin Schindler beschindler at gmail dot com --- I just looked at what gcc-4.9.1 does and it does vary: movdqu(%rsi), %xmm1 movdqu(%rdi), %xmm0 -- pminsd%xmm1, %xmm0 -- pxor%xmm1, %xmm1 pmaxsd%xmm1