summary refs log tree commit diff stats
path: root/hw/core/loader.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-03-07 11:04:14 -0800
committerPeter Maydell <peter.maydell@linaro.org>2025-03-14 12:54:33 +0000
commit298a04998fa4a6dc977abe9234d98dfcdab98423 (patch)
treedab74968e909a08f2386d2433a994c7deebc4e71 /hw/core/loader.c
parente6c38d2ab55d66c74ceade5699e22cabe9058d22 (diff)
downloadfocaccia-qemu-298a04998fa4a6dc977abe9234d98dfcdab98423.tar.gz
focaccia-qemu-298a04998fa4a6dc977abe9234d98dfcdab98423.zip
target/arm: Make DisasContext.{fp, sve}_access_checked tristate
The check for fp_excp_el in assert_fp_access_checked is
incorrect.  For SME, with StreamingMode enabled, the access
is really against the streaming mode vectors, and access
to the normal fp registers is allowed to be disabled.
C.f. sme_enabled_check.

Convert sve_access_checked to match, even though we don't
currently check the exception state.

Cc: qemu-stable@nongnu.org
Fixes: 3d74825f4d6 ("target/arm: Add SME enablement checks")
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20250307190415.982049-2-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/core/loader.c')
0 files changed, 0 insertions, 0 deletions