aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-02-15 11:30:44 +0000
committerPeter Maydell <peter.maydell@linaro.org>2024-02-15 11:30:44 +0000
commit64c6e7444dff64b42d11b836b9aec9acfbe8ecc2 (patch)
treed9355939701eabf4d86dfe68b4c14d033fbdc46e /scripts/qapi
parent681dfc0d552963d4d598350d26097a692900b408 (diff)
downloadqemu-64c6e7444dff64b42d11b836b9aec9acfbe8ecc2.zip
qemu-64c6e7444dff64b42d11b836b9aec9acfbe8ecc2.tar.gz
qemu-64c6e7444dff64b42d11b836b9aec9acfbe8ecc2.tar.bz2
target/arm: Fix nregs computation in do_{ld,st}_zpa
The field is encoded as [0-3], which is convenient for indexing our array of function pointers, but the true value is [1-4]. Adjust before calling do_mem_zpa. Add an assert, and move the comment re passing ZT to the helper back next to the relevant code. Cc: qemu-stable@nongnu.org Fixes: 206adacfb8d ("target/arm: Add mte helpers for sve scalar + int loads") Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Tested-by: Gustavo Romero <gustavo.romero@linaro.org> Message-id: 20240207025210.8837-3-richard.henderson@linaro.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/qapi')
0 files changed, 0 insertions, 0 deletions