On 2026/08/26 10:38 AM, Chinmay Rath wrote: > There is no reason to keep do_ea_calc_ra exclusive to TARGET_PPC64. > Make it available for PPC32 builds. > > Reviewed-by: Glenn Miles <[email protected]> > Signed-off-by: Chinmay Rath <[email protected]> > --- > target/ppc/translate.c | 2 -- > 1 file changed, 2 deletions(-)
Reviewed-by: Amit Machhiwal <[email protected]> > > diff --git a/target/ppc/translate.c b/target/ppc/translate.c > index 5b08d9b282..e40841b68e 100644 > --- a/target/ppc/translate.c > +++ b/target/ppc/translate.c > @@ -2397,7 +2397,6 @@ static TCGv do_ea_calc(DisasContext *ctx, int ra, TCGv > displ) > return ea; > } > > -#if defined(TARGET_PPC64) > /* EA <- (ra == 0) ? 0 : GPR[ra] */ > static TCGv do_ea_calc_ra(DisasContext *ctx, int ra) > { > @@ -2411,7 +2410,6 @@ static TCGv do_ea_calc_ra(DisasContext *ctx, int ra) > } > return EA; > } > -#endif > > /*** Integer load > ***/ > #define DEF_MEMOP(op) ((op) | ctx->default_tcg_memop_mask) > -- > 2.55.0 >
