This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/71921] missed vectorization optimization


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71921

Marc Glisse <glisse at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|libstdc++                   |tree-optimization

--- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> ---
That's not a libstdc++ issue, more likely tree-optimization, rtl-optimization
or target. The compiler already notices that the if/return construct is
equivalent to the ?: one (ifcvt). And the loop is vectorized (cmpltps+andnps).
Now gimple passes and the target (or some RTL pass) don't seem to agree on when
it is safe to replace ?: with MAX (or maybe the target is inconsistent between
scalars and vectors).

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]