On 28/1/25 07:13, Harsh Prateek Bora wrote:
On 1/27/25 15:56, Philippe Mathieu-Daudé wrote:
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
---
target/ppc/excp_helper.c | 21 ---------------------
target/ppc/tcg-excp_helper.c | 18 ++++++++++++++++++
2 files changed, 18 insertions(+), 21 deletions(-)
This patch also needs to remove the function declaration introduced in
internal.h in patch 3.
No, it is still used in 2 distinct units:
$ git grep ppc_ldl_code a09cb1ead
a09cb1ead:target/ppc/excp_helper.c:1291: return is_prefix_insn(env,
ppc_ldl_code(env, env->nip));
a09cb1ead:target/ppc/excp_helper.c:1516: uint32_t insn =
ppc_ldl_code(env, env->nip);
a09cb1ead:target/ppc/excp_helper.c:1519: uint32_t insn2 =
ppc_ldl_code(env, env->nip + 4);
a09cb1ead:target/ppc/internal.h:271:uint32_t ppc_ldl_code(CPUArchState
*env, target_ulong addr);
a09cb1ead:target/ppc/tcg-excp_helper.c:38: insn = ppc_ldl_code(env,
env->nip);
a09cb1ead:target/ppc/tcg-excp_helper.c:209:uint32_t
ppc_ldl_code(CPUArchState *env, target_ulong addr)
Otherwise,
Reviewed-by: Harsh Prateek Bora <[email protected]>
Thanks!