https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118297
--- Comment #6 from Tibor Győri ---
(In reply to Andrew Pinski from comment #5)
> (In reply to Tibor Győri from comment #4)
> > It might even be the case that the current cost model is correct,
> > vectorization is indeed sometimes unprofitable.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118297
Tibor Győri changed:
What|Removed |Added
URL||https://godbolt.org/z/a5nKv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118297
--- Comment #5 from Andrew Pinski ---
(In reply to Tibor Győri from comment #4)
> It might even be the case that the current cost model is correct,
> vectorization is indeed sometimes unprofitable.
> But in that case, the issue is how this is co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118297
--- Comment #3 from Andrew Pinski ---
for aarch64
/app/example.cpp:16:8: note: Cost model analysis for part in loop 2:
Vector cost: 47
Scalar cost: 42
/app/example.cpp:16:8: missed: not vectorized: vectorization is not profitable.
For x86_6
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118297
Andrew Pinski changed:
What|Removed |Added
Target||x86_64
Summary|vect_analyze_