[Bug tree-optimization/118297] not vecotrizing some code

2025-01-04 Thread tiborgyri at gmail dot com via Gcc-bugs
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.

[Bug tree-optimization/118297] not vecotrizing some code

2025-01-04 Thread tiborgyri at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118297 Tibor Győri changed: What|Removed |Added URL||https://godbolt.org/z/a5nKv

[Bug tree-optimization/118297] not vecotrizing some code

2025-01-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
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

[Bug tree-optimization/118297] not vecotrizing some code

2025-01-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
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

[Bug tree-optimization/118297] not vecotrizing some code

2025-01-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118297 Andrew Pinski changed: What|Removed |Added Target||x86_64 Summary|vect_analyze_