target/hppa: Replace tcg_gen_*_tl with tcg_gen_*_i64

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
Richard Henderson 2023-10-17 21:49:54 -07:00
parent aac0f603de
commit d265360f07

View file

@ -1338,10 +1338,10 @@ static void form_gva(DisasContext *ctx, TCGv_i64 *pgva, TCGv_i64 *pofs,
*pofs = ofs; *pofs = ofs;
*pgva = addr = tcg_temp_new_i64(); *pgva = addr = tcg_temp_new_i64();
tcg_gen_andi_tl(addr, modify <= 0 ? ofs : base, gva_offset_mask(ctx)); tcg_gen_andi_i64(addr, modify <= 0 ? ofs : base, gva_offset_mask(ctx));
#ifndef CONFIG_USER_ONLY #ifndef CONFIG_USER_ONLY
if (!is_phys) { if (!is_phys) {
tcg_gen_or_tl(addr, addr, space_select(ctx, sp, base)); tcg_gen_or_i64(addr, addr, space_select(ctx, sp, base));
} }
#endif #endif
} }
@ -2382,7 +2382,7 @@ static bool trans_ixtlbxf(DisasContext *ctx, arg_ixtlbxf *a)
a->data ? offsetof(CPUHPPAState, cr[CR_IOR]) a->data ? offsetof(CPUHPPAState, cr[CR_IOR])
: offsetof(CPUHPPAState, cr[CR_IIAOQ])); : offsetof(CPUHPPAState, cr[CR_IIAOQ]));
tcg_gen_shli_i64(stl, stl, 32); tcg_gen_shli_i64(stl, stl, 32);
tcg_gen_or_tl(addr, atl, stl); tcg_gen_or_i64(addr, atl, stl);
reg = load_gpr(ctx, a->r); reg = load_gpr(ctx, a->r);
if (a->addr) { if (a->addr) {
@ -2942,7 +2942,7 @@ static bool trans_ldo(DisasContext *ctx, arg_ldo *a)
TCGv_i64 tcg_rt = dest_gpr(ctx, a->t); TCGv_i64 tcg_rt = dest_gpr(ctx, a->t);
/* Special case rb == 0, for the LDI pseudo-op. /* Special case rb == 0, for the LDI pseudo-op.
The COPY pseudo-op is handled for free within tcg_gen_addi_tl. */ The COPY pseudo-op is handled for free within tcg_gen_addi_i64. */
if (a->b == 0) { if (a->b == 0) {
tcg_gen_movi_i64(tcg_rt, a->i); tcg_gen_movi_i64(tcg_rt, a->i);
} else { } else {