Richard Henderson 7d38cb92aa 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>
2022-06-08 19:38:56 +01:00
..
2022-06-08 19:38:47 +01:00
2022-05-19 16:19:02 +01:00
2022-06-08 19:38:46 +01:00
2022-06-08 19:38:55 +01:00
2022-06-08 19:38:47 +01:00
2022-05-09 11:47:54 +01:00
2020-09-09 09:27:09 -04:00
2022-06-08 19:38:55 +01:00
2021-09-21 16:28:26 +01:00
2022-05-19 16:19:02 +01:00