Re: [PATCH v3 02/15] linux-user/aarch64: Use SVE_LEN from hflags

2022-05-31 Thread Peter Maydell
On Fri, 27 May 2022 at 19:07, Richard Henderson wrote: > > Use the digested vector length rather than the raw zcr_el[1] value. > > This fixes an incorrect return from do_prctl_set_vl where we didn't > take into account the set of vector lengths supported by the cpu. > It also prepares us for Strea

[PATCH v3 02/15] linux-user/aarch64: Use SVE_LEN from hflags

2022-05-27 Thread Richard Henderson
Use the digested vector length rather than the raw zcr_el[1] value. This fixes an incorrect return from do_prctl_set_vl where we didn't take into account the set of vector lengths supported by the cpu. It also prepares us for Streaming SVE mode, where the vector length comes from a different cpreg