This is intended to resolve #482. Changes for v2: * Split out length bounding fix to new patch. * Use byte units for sve-default-vector-length. * Support undocumented -1 "maximum". * Add documentation.
r~ Richard Henderson (3): target/arm: Correctly bound length in sve_zcr_get_valid_len target/arm: Export aarch64_sve_zcr_get_valid_len target/arm: Add sve-default-vector-length cpu property docs/system/arm/cpu-features.rst | 11 ++++++ target/arm/cpu.h | 5 +++ target/arm/internals.h | 10 ++++++ target/arm/cpu.c | 14 ++++++-- target/arm/cpu64.c | 60 ++++++++++++++++++++++++++++++++ target/arm/helper.c | 8 +++-- 6 files changed, 103 insertions(+), 5 deletions(-) -- 2.25.1