|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH v2 05/15] target/ppc: Move ppc_ldl_code() to tcg-excp_helper.c |
Date: | Tue, 28 Jan 2025 08:41:29 +0100 |
User-agent: | Mozilla Thunderbird |
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é <philmd@linaro.org> --- 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 a09cb1eada09cb1ead: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 <harshpb@linux.ibm.com>
Thanks!
[Prev in Thread] | Current Thread | [Next in Thread] |