diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-02-15 11:30:44 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2024-02-15 11:30:44 +0000 |
commit | b12a7671b6099a26ce5d5ab09701f151e21c112c (patch) | |
tree | 6f07766092f2bc950a81e09a451b003d63f264ad /scripts | |
parent | 64c6e7444dff64b42d11b836b9aec9acfbe8ecc2 (diff) | |
download | qemu-b12a7671b6099a26ce5d5ab09701f151e21c112c.zip qemu-b12a7671b6099a26ce5d5ab09701f151e21c112c.tar.gz qemu-b12a7671b6099a26ce5d5ab09701f151e21c112c.tar.bz2 |
target/arm: Adjust and validate mtedesc sizem1
When we added SVE_MTEDESC_SHIFT, we effectively limited the
maximum size of MTEDESC. Adjust SIZEM1 to consume the remaining
bits (32 - 10 - 5 - 12 == 5). Assert that the data to be stored
fits within the field (expecting 8 * 4 - 1 == 31, exact fit).
Cc: qemu-stable@nongnu.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Gustavo Romero <gustavo.romero@linaro.org>
Message-id: 20240207025210.8837-4-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions