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

--- Comment #9 from Tibor Győri <tiborgyri at gmail dot com> ---
> We do apply SLP vectorization with -march=znver3 so I wonder
> what you think we are missing (apart from the confusing -fopt-info-missed
> messages)?

I was not originally thinking GCC was missing anything here, but the optinfo
messages were sufficiently unclear that could no longer tell if something is
getting missed. My main issue here is definitely how unclear these messages can
be currently.

> We also refuse to loop-header copy this because there's a pow() call in the
> block.

That is unfortunate, I was hoping that I using idioms like std::pow(A, 2) to
square A would not have any optimization impact anymore.

Reply via email to