aboutsummaryrefslogtreecommitdiff
path: root/target/arm/cpu.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-06-08 19:38:56 +0100
committerPeter Maydell <peter.maydell@linaro.org>2022-06-08 19:38:56 +0100
commit7d38cb92aad848b9c935588815d0b3a5e157aabb (patch)
tree28f12680f927e4e1edc7fa68e7a13abc136bee22 /target/arm/cpu.c
parentaa4451b60e6a2b1bc4e9a8f6bbf90b266e2a4390 (diff)
downloadqemu-7d38cb92aad848b9c935588815d0b3a5e157aabb.zip
qemu-7d38cb92aad848b9c935588815d0b3a5e157aabb.tar.gz
qemu-7d38cb92aad848b9c935588815d0b3a5e157aabb.tar.bz2
target/arm: Hoist arm_is_el2_enabled check in sve_exception_el
This check is buried within arm_hcr_el2_eff(), but since we have to have the explicit check for CPTR_EL2.TZ, we might as well just check it once at the beginning of the block. Once this is done, we can test HCR_EL2.{E2H,TGE} directly, rather than going through arm_hcr_el2_eff(). Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20220607203306.657998-9-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/cpu.c')
0 files changed, 0 insertions, 0 deletions