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

--- Comment #2 from Robin Dapp <rdapp at gcc dot gnu.org> ---
Thinking about this some more.  What's also pretty problematic is that the loop
is relatively short.  If it's length controlled we cannot unroll it and the
vsetvl cycle (len = vsetvl (..., len, ...); len = old_len - len;) inhibits
throughput.  The only remedy is LMUL > 1 for such loops.

Certainly a throughput question for the cost model as well.  Fun.

Reply via email to