Re: [PATCH v3 11/13] target/riscv: change vext_get_vlmax() arguments

2024-01-21 Thread Alistair Francis
On Wed, Jan 17, 2024 at 7:02 AM Daniel Henrique Barboza wrote: > > We'll re-use the logic froim vext_get_vlmax() in 2 other occurrences in > the next patch, but first we need to make it independent of both 'cpu' > and 'vtype'. To do that, add 'vlenb', 'vsew' and 'lmul' as parameters > instead. > >

[PATCH v3 11/13] target/riscv: change vext_get_vlmax() arguments

2024-01-16 Thread Daniel Henrique Barboza
We'll re-use the logic froim vext_get_vlmax() in 2 other occurrences in the next patch, but first we need to make it independent of both 'cpu' and 'vtype'. To do that, add 'vlenb', 'vsew' and 'lmul' as parameters instead. Adapt the two existing callers. In cpu_get_tb_cpu_state(), rename 'sew' to '