mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
target/arm: Remove route_to_el2 check from sve_exception_el
We handle this routing in raise_exception. Promoting the value early means that we can't directly compare FPEXC_EL and SVEEXC_EL. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20220607203306.657998-4-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
8b599e5c02
commit
61a8c23a3b
1 changed files with 1 additions and 2 deletions
|
@ -6149,8 +6149,7 @@ int sve_exception_el(CPUARMState *env, int el)
|
|||
/* fall through */
|
||||
case 0:
|
||||
case 2:
|
||||
/* route_to_el2 */
|
||||
return hcr_el2 & HCR_TGE ? 2 : 1;
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* Check CPACR.FPEN. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue