[Bug target/116685] RISC-V: missed optimization on vector dot products

2024-09-11 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116685 JuzheZhong changed: What|Removed |Added CC||juzhe.zhong at rivai dot ai --- Comment #4

[Bug target/116685] RISC-V: missed optimization on vector dot products

2024-09-11 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116685 --- Comment #3 from Edwin Lu --- (In reply to Andrew Pinski from comment #1) > -fno-vect-cost-model fixes some of these. I hadn't taken a look with -fno-vect-cost-model until now but it seems like there's some weird codegen with the 3 element d

[Bug target/116685] RISC-V: missed optimization on vector dot products

2024-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116685 --- Comment #2 from Andrew Pinski --- Created attachment 59100 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59100&action=edit Full testcase

[Bug target/116685] RISC-V: missed optimization on vector dot products

2024-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116685 --- Comment #1 from Andrew Pinski --- -fno-vect-cost-model fixes some of these.