target/arm: Introduce helper_exception_with_syndrome
commiteeaf596022233818476bf2d1c7a41011fbba7faa
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 10 Jun 2022 13:32:34 +0000 (10 14:32 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 10 Jun 2022 13:32:34 +0000 (10 14:32 +0100)
tree2f32c4def72d296a0f70abc091852cca3cd4ff19
parentd6d7f818a9eafeff01d19b70a796bf42248c3690
target/arm: Introduce helper_exception_with_syndrome

With the helper we can use exception_target_el at runtime,
instead of default_exception_el at translate time.
While we're at it, remove the DisasContext parameter from
gen_exception, as it is no longer used.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220609202901.1177572-20-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.h
target/arm/op_helper.c
target/arm/translate.c