[Bug tree-optimization/115833] SLP of signed short multiply goes wrong

2024-07-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115833 --- Comment #5 from Andrew Pinski --- >It seems the very bad code generation is mostly from constructing the V4HImode vectors going via GPRs with shifts and ORs. On x86_64 that is true but aarch64 that is definitely not true: fmovs

[Bug tree-optimization/115833] SLP of signed short multiply goes wrong

2024-07-09 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115833 Hongtao Liu changed: What|Removed |Added CC||lin1.hu at intel dot com --- Comment #4 f

[Bug tree-optimization/115833] SLP of signed short multiply goes wrong

2024-07-09 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115833 Hongtao Liu changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org --- Comment #

[Bug tree-optimization/115833] SLP of signed short multiply goes wrong

2024-07-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115833 --- Comment #2 from Richard Biener --- typedef unsigned short v4hi __attribute__((vector_size(8))); typedef unsigned int v4si __attribute__((vector_size(16))); v4hi foo (unsigned short a, unsigned short b, unsigned short c, unsigned short d) {

[Bug tree-optimization/115833] SLP of signed short multiply goes wrong

2024-07-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115833 Richard Biener changed: What|Removed |Added Target||x86_64-*-* Last reconfirmed|