[Bug tree-optimization/120598] Compiler is unable to vectorise scalar code

2025-06-20 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120598 Segher Boessenkool changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/120598] Compiler is unable to vectorise scalar code

2025-06-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120598 Richard Biener changed: What|Removed |Added Status|WAITING |NEW --- Comment #9 from Richard Biener

[Bug tree-optimization/120598] Compiler is unable to vectorise scalar code

2025-06-19 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120598 --- Comment #8 from Segher Boessenkool --- (In reply to Jeevitha from comment #6) > The following dot_product function gets vectorized with the latest GCC trunk > and gcc 15.1.0: > > #include > #include > extern float dot_product(const int16_

[Bug tree-optimization/120598] Compiler is unable to vectorise scalar code

2025-06-19 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120598 --- Comment #7 from Segher Boessenkool --- [I cannot read any of the attached code, but...] The proposed manually vectorised code converts 64-bit integers to IEEE SP floats, which is extremely lossy. I don't find it very surprising the compile

[Bug tree-optimization/120598] Compiler is unable to vectorise scalar code

2025-06-19 Thread jeevitha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120598 --- Comment #6 from Jeevitha --- The following dot_product function gets vectorized with the latest GCC trunk and gcc 15.1.0: #include #include extern float dot_product(const int16_t *v1, const int16_t *v2, size_t len); float dot_product(cons

[Bug tree-optimization/120598] Compiler is unable to vectorise scalar code

2025-06-11 Thread Manjul.Mohan at ibm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120598 --- Comment #5 from Manjul Mohan --- Created attachment 61622 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61622&action=edit Attached the preprocessed source file generated using -save-temps. Let me know if further cleanup is needed. Co

[Bug tree-optimization/120598] Compiler is unable to vectorise scalar code

2025-06-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120598 --- Comment #4 from Richard Biener --- I'll also note that the attached file does not contain a function with the name dot_product (or similar).

[Bug tree-optimization/120598] Compiler is unable to vectorise scalar code

2025-06-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120598 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/120598] Compiler is unable to vectorise scalar code

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120598 Andrew Pinski changed: What|Removed |Added Status|WAITING |UNCONFIRMED Keywords|needs-so

[Bug tree-optimization/120598] Compiler is unable to vectorise scalar code

2025-06-09 Thread Manjul.Mohan at ibm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120598 Manjul Mohan changed: What|Removed |Added CC||Manjul.Mohan at ibm dot com --- Comment

[Bug tree-optimization/120598] Compiler is unable to vectorise scalar code

2025-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120598 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/120598] Compiler is unable to vectorise scalar code

2025-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120598 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Keywords|