https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112651

--- Comment #4 from Vineet Gupta <vineetg at gcc dot gnu.org> ---
(In reply to JuzheZhong from comment #3)
> The reason we use --param=riscv-autovec-lmul instead of -mvect-lmul which is
> not documented because we don't have ratifed compile option.
> 
> I have mentioned whether we should have -mrvv-vector-lmul but LLVM people
> object
> it.
> 
> https://github.com/riscv-non-isa/riscv-toolchain-conventions/issues/33

It seems the discussions back in March stalled due to things being tooearly.

But llvm and gcc seem to have diverged anyways for other toggles in the area. 
e.g. fixed length vec size is specified differently
(gcc:--param=riscv-autovec-preference=fixed-vlmax vs.
llvm:-mrvv-vector-bits=zvl) so we might as well switch gcc to -m way. This can
obviously only be done now, before this goes out in the wild in gcc-14 release.
I'd say even now it would be disruptive but ...

Reply via email to