]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Introduce sve_vqm1_for_el_sm
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 20 Jun 2022 17:52:02 +0000 (10:52 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 27 Jun 2022 10:18:17 +0000 (11:18 +0100)
commit6ca54aa9a882ece5a6bcf5879f25bdcd7a95331f
tree06145c33b4f3445679f3346829f1dc469a33e6a5
parente74c097638d38b46d9c68f11565432034afc0ad0
target/arm: Introduce sve_vqm1_for_el_sm

When Streaming SVE mode is enabled, the size is taken from
SMCR_ELx instead of ZCR_ELx.  The format is shared, but the
set of vector lengths is not.  Further, Streaming SVE does
not require any particular length to be supported.

Adjust sve_vqm1_for_el to pass the current value of PSTATE.SM
to the new function.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220620175235.60881-19-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.h
target/arm/helper.c