[Bug target/112648] RISC-V Vector parameter riscv-autovec-lmul value is ineffective

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

[Bug target/112648] RISC-V Vector parameter riscv-autovec-lmul value is ineffective

2023-11-21 Thread jeremy.bennett at embecosm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112648 --- Comment #3 from Jeremy Bennett --- Following a discussion on the weekly call, it seems that I have misunderstood the purpose of this parameter. It seems it is a hint to the optimizer that a particular LMUL value is most efficient, not as a m

[Bug target/112648] RISC-V Vector parameter riscv-autovec-lmul value is ineffective

2023-11-21 Thread jeremy.bennett at embecosm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112648 --- Comment #2 from Jeremy Bennett --- Thanks Richard. Bug 112651 filed to capture this suggestion.

[Bug target/112648] RISC-V Vector parameter riscv-autovec-lmul value is ineffective

2023-11-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112648 --- Comment #1 from Richard Biener --- Note that using a --param for a correctness thing isn't recommended, I'd transition that to -mvect-lmul=N as it also shouldn't only apply to auto-vectorization.