[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 44/76] target/mips: Drop tcg_temp_free from tx79_translate.c
From: |
Richard Henderson |
Subject: |
[PATCH 44/76] target/mips: Drop tcg_temp_free from tx79_translate.c |
Date: |
Fri, 24 Feb 2023 23:13:55 -1000 |
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/mips/tcg/tx79_translate.c | 41 --------------------------------
1 file changed, 41 deletions(-)
diff --git a/target/mips/tcg/tx79_translate.c b/target/mips/tcg/tx79_translate.c
index 4e479c2d10..d46bc73972 100644
--- a/target/mips/tcg/tx79_translate.c
+++ b/target/mips/tcg/tx79_translate.c
@@ -138,10 +138,6 @@ static bool trans_parallel_arith(DisasContext *ctx, arg_r
*a,
gen_load_gpr_hi(ax, a->rs);
gen_load_gpr_hi(bx, a->rt);
gen_logic_i64(cpu_gpr_hi[a->rd], ax, bx);
-
- tcg_temp_free(bx);
- tcg_temp_free(ax);
-
return true;
}
@@ -273,15 +269,6 @@ static bool trans_parallel_compare(DisasContext *ctx,
arg_r *a,
tcg_gen_movcond_i64(cond, t2, t1, t0, c1, c0);
tcg_gen_deposit_i64(cpu_gpr_hi[a->rd], cpu_gpr_hi[a->rd], t2, wlen *
i, wlen);
}
-
- tcg_temp_free(t2);
- tcg_temp_free(t1);
- tcg_temp_free(t0);
- tcg_temp_free(bx);
- tcg_temp_free(ax);
- tcg_temp_free(c1);
- tcg_temp_free(c0);
-
return true;
}
@@ -362,10 +349,6 @@ static bool trans_LQ(DisasContext *ctx, arg_i *a)
tcg_gen_addi_i64(addr, addr, 8);
tcg_gen_qemu_ld_i64(t0, addr, ctx->mem_idx, MO_TEUQ);
gen_store_gpr_hi(t0, a->rt);
-
- tcg_temp_free(t0);
- tcg_temp_free(addr);
-
return true;
}
@@ -389,10 +372,6 @@ static bool trans_SQ(DisasContext *ctx, arg_i *a)
tcg_gen_addi_i64(addr, addr, 8);
gen_load_gpr_hi(t0, a->rt);
tcg_gen_qemu_st_i64(t0, addr, ctx->mem_idx, MO_TEUQ);
-
- tcg_temp_free(addr);
- tcg_temp_free(t0);
-
return true;
}
@@ -458,11 +437,6 @@ static bool trans_PPACW(DisasContext *ctx, arg_r *a)
gen_load_gpr_hi(t0, a->rs); /* a1 */
tcg_gen_deposit_i64(cpu_gpr_hi[a->rd], a0, t0, 32, 32);
-
- tcg_temp_free(t0);
- tcg_temp_free(b0);
- tcg_temp_free(a0);
-
return true;
}
@@ -506,10 +480,6 @@ static bool trans_PEXTLx(DisasContext *ctx, arg_r *a,
unsigned wlen)
tcg_gen_shri_i64(bx, bx, wlen);
tcg_gen_shri_i64(ax, ax, wlen);
}
-
- tcg_temp_free(bx);
- tcg_temp_free(ax);
-
return true;
}
@@ -541,10 +511,6 @@ static bool trans_PEXTLW(DisasContext *ctx, arg_r *a)
gen_load_gpr(ax, a->rs);
gen_load_gpr(bx, a->rt);
gen_pextw(cpu_gpr[a->rd], cpu_gpr_hi[a->rd], ax, bx);
-
- tcg_temp_free(bx);
- tcg_temp_free(ax);
-
return true;
}
@@ -564,10 +530,6 @@ static bool trans_PEXTUW(DisasContext *ctx, arg_r *a)
gen_load_gpr_hi(ax, a->rs);
gen_load_gpr_hi(bx, a->rt);
gen_pextw(cpu_gpr[a->rd], cpu_gpr_hi[a->rd], ax, bx);
-
- tcg_temp_free(bx);
- tcg_temp_free(ax);
-
return true;
}
@@ -678,8 +640,5 @@ static bool trans_PROT3W(DisasContext *ctx, arg_r *a)
tcg_gen_deposit_i64(cpu_gpr[a->rd], cpu_gpr[a->rt], ax, 0, 32);
tcg_gen_rotri_i64(cpu_gpr[a->rd], cpu_gpr[a->rd], 32);
-
- tcg_temp_free(ax);
-
return true;
}
--
2.34.1
- [PATCH 34/76] target/m68k: Drop free_cond, (continued)
- [PATCH 34/76] target/m68k: Drop free_cond, Richard Henderson, 2023/02/25
- [PATCH 35/76] target/m68k: Drop tcg_temp_free, Richard Henderson, 2023/02/25
- [PATCH 38/76] target/mips: Drop tcg_temp_free from mips16e_translate.c.inc, Richard Henderson, 2023/02/25
- [PATCH 39/76] target/mips: Drop tcg_temp_free from msa_translate.c, Richard Henderson, 2023/02/25
- [PATCH 40/76] target/mips: Drop tcg_temp_free from mxu_translate.c, Richard Henderson, 2023/02/25
- [PATCH 41/76] target/mips: Drop tcg_temp_free from nanomips_translate.c.inc, Richard Henderson, 2023/02/25
- [PATCH 43/76] target/mips: Drop tcg_temp_free from translate_addr_const.c, Richard Henderson, 2023/02/25
- [PATCH 45/76] target/mips: Fix trans_mult_acc return, Richard Henderson, 2023/02/25
- [PATCH 42/76] target/mips: Drop tcg_temp_free from octeon_translate.c, Richard Henderson, 2023/02/25
- [PATCH 44/76] target/mips: Drop tcg_temp_free from tx79_translate.c,
Richard Henderson <=
- [PATCH 46/76] target/mips: Drop tcg_temp_free from vr54xx_translate.c, Richard Henderson, 2023/02/25
- [PATCH 47/76] target/mips: Drop tcg_temp_free from translate.c, Richard Henderson, 2023/02/25
- [PATCH 48/76] target/nios2: Drop tcg_temp_free, Richard Henderson, 2023/02/25
- [PATCH 52/76] target/riscv: Drop temp_new, Richard Henderson, 2023/02/25
- [PATCH 49/76] target/openrisc: Drop tcg_temp_free, Richard Henderson, 2023/02/25
- [PATCH 50/76] target/ppc: Drop tcg_temp_free, Richard Henderson, 2023/02/25
- [PATCH 53/76] target/riscv: Drop tcg_temp_free, Richard Henderson, 2023/02/25