]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Simplify pstate_sm check in sve_access_check
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 7 Mar 2025 19:04:15 +0000 (11:04 -0800)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 14 Mar 2025 12:54:33 +0000 (12:54 +0000)
commitcc7abc35dfa790ba6c20473c03745428c1c626b6
treef6b469892886a3113024106ae72eca159647619b
parent298a04998fa4a6dc977abe9234d98dfcdab98423
target/arm: Simplify pstate_sm check in sve_access_check

In StreamingMode, fp_access_checked is handled already.
We cannot fall through to fp_access_check lest we fall
foul of the double-check assertion.

Cc: qemu-stable@nongnu.org
Fixes: 285b1d5fcef ("target/arm: Handle SME in sve_access_check")
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20250307190415.982049-3-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: move declaration of 'ret' to top of block]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/tcg/translate-a64.c