> Hmm - but how can you call this ambiguous?  VLEN and LMUL is a runtime
> property(?), so unknown to the compiler(?) - as you do below the only
> way to code generate would be a agnostic way such as with a slide-down.
> But can't you always to this, for all subregs of this sort (even with offset)?

LMUL (register group size) is a compile-time constant while VLEN is not.
Once we have VLS modes that span more than the minimum runtime size of
a vector it's ambiguous whether the mode occupies two minimum-size vectors
or one dynamically larger one.

Did you mean the agnostic way should just be the default expansion for
each such subreg?

Regards
 Robin

Reply via email to