mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
target/arm: Unify gen_exception_internal()
Same code, use the generic variant. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20250623121845.7214-4-philmd@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
committed by
Peter Maydell
parent
4a94d8047d
commit
a74b63b3a4
@@ -433,12 +433,6 @@ static void gen_rebuild_hflags(DisasContext *s)
|
||||
gen_helper_rebuild_hflags_a64(tcg_env, tcg_constant_i32(s->current_el));
|
||||
}
|
||||
|
||||
static void gen_exception_internal(int excp)
|
||||
{
|
||||
assert(excp_is_internal(excp));
|
||||
gen_helper_exception_internal(tcg_env, tcg_constant_i32(excp));
|
||||
}
|
||||
|
||||
static void gen_exception_internal_insn(DisasContext *s, int excp)
|
||||
{
|
||||
gen_a64_update_pc(s, 0);
|
||||
|
||||
@@ -372,7 +372,7 @@ static void gen_rebuild_hflags(DisasContext *s, bool new_el)
|
||||
}
|
||||
}
|
||||
|
||||
static void gen_exception_internal(int excp)
|
||||
void gen_exception_internal(int excp)
|
||||
{
|
||||
assert(excp_is_internal(excp));
|
||||
gen_helper_exception_internal(tcg_env, tcg_constant_i32(excp));
|
||||
|
||||
@@ -347,6 +347,7 @@ void arm_jump_cc(DisasCompare *cmp, TCGLabel *label);
|
||||
void arm_gen_test_cc(int cc, TCGLabel *label);
|
||||
MemOp pow2_align(unsigned i);
|
||||
void unallocated_encoding(DisasContext *s);
|
||||
void gen_exception_internal(int excp);
|
||||
void gen_exception_insn_el(DisasContext *s, target_long pc_diff, int excp,
|
||||
uint32_t syn, uint32_t target_el);
|
||||
void gen_exception_insn(DisasContext *s, target_long pc_diff,
|
||||
|
||||
Reference in New Issue
Block a user