This aims to solve an assertion failure in simd_desc() that is triggered by overflowing the 22-bit simd data field, when SVE vectors are configured to be long and MTE is enabled.
Gustavo, can you please run this through your test case? I looked back through the irc log and only see the memory-tagging-extension.rst test case for PR_SET_TAGGED_ADDR_CTRL, not one that tests MTE+SVE together. r~ Richard Henderson (3): target/arm: Fix SVE/SME gross MTE suppression checks target/arm: Move SVE/SME MTE disable checks inward target/arm: Split mtedesc from vector desc target/arm/internals.h | 8 +- target/arm/tcg/helper-sme.h | 108 +-- target/arm/tcg/helper-sve.h | 1255 ++++++++------------------------ target/arm/tcg/sme_helper.c | 155 +--- target/arm/tcg/sve_helper.c | 431 +++-------- target/arm/tcg/translate-sme.c | 33 +- target/arm/tcg/translate-sve.c | 1246 +++++++++++-------------------- 7 files changed, 926 insertions(+), 2310 deletions(-) -- 2.34.1