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

camel-cdr <camel-cdr at protonmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |camel-cdr at protonmail dot com

--- Comment #8 from camel-cdr <camel-cdr at protonmail dot com> ---
I think the premiss that you want the loop explicitly unrolled is wrong, as
Robin wrote:

> Regarding unrolling: We cannot/do no unroll those length-controlled VLA loops.
What we can do, trivially, is increase LMUL.

I don't have access to the source, but gcc should produce the exepcted codegen
with -mrvv-max-lmul=dynamic. I don't know what that isn't the default and
instead gcc doesn't produce LMUL>1 by default, but that is another problem.

Reply via email to