Re: [PATCH v2] RISC-V: Adjust LMUL when using maximum SEW [PR117955].

2025-03-05 Thread Jeff Law
On 3/5/25 7:39 AM, Robin Dapp wrote: Hi, when merging two vsetvls that both only demand "SEW >= ..." we use their maximum SEW and keep the LMUL.  That may lead to invalid vector configurations like  e64, mf4. As we make sure that the SEW requirements overlap we can use the SEW and LMUL of th

[PATCH v2] RISC-V: Adjust LMUL when using maximum SEW [PR117955].

2025-03-05 Thread Robin Dapp
Hi, when merging two vsetvls that both only demand "SEW >= ..." we use their maximum SEW and keep the LMUL. That may lead to invalid vector configurations like e64, mf4. As we make sure that the SEW requirements overlap we can use the SEW and LMUL of the configuration with the larger SEW. Ma J