[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 23/76] target/cris: Drop addr from dec10_ind_move_m_pr
From: |
Richard Henderson |
Subject: |
[PATCH v2 23/76] target/cris: Drop addr from dec10_ind_move_m_pr |
Date: |
Sun, 26 Feb 2023 19:24:12 -1000 |
This variable is not used, only allocated and freed.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/cris/translate_v10.c.inc | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/target/cris/translate_v10.c.inc b/target/cris/translate_v10.c.inc
index 5e9d1c0fe8..4f03548365 100644
--- a/target/cris/translate_v10.c.inc
+++ b/target/cris/translate_v10.c.inc
@@ -800,12 +800,11 @@ static unsigned int dec10_ind_move_r_m(DisasContext *dc,
unsigned int size)
static unsigned int dec10_ind_move_m_pr(CPUCRISState *env, DisasContext *dc)
{
unsigned int insn_len = 2, rd = dc->dst;
- TCGv t, addr;
+ TCGv t;
LOG_DIS("move.%d $p%d, [$r%d]\n", dc->size, dc->dst, dc->src);
cris_lock_irq(dc);
- addr = tcg_temp_new();
t = tcg_temp_new();
insn_len += dec10_prep_move_m(env, dc, 0, 4, t);
if (rd == 15) {
@@ -816,7 +815,6 @@ static unsigned int dec10_ind_move_m_pr(CPUCRISState *env,
DisasContext *dc)
tcg_gen_mov_tl(cpu_PR[rd], t);
dc->cpustate_changed = 1;
}
- tcg_temp_free(addr);
tcg_temp_free(t);
return insn_len;
}
--
2.34.1
- [PATCH v2 10/76] target/arm: Drop tcg_temp_free from translator-a64.c, (continued)
- [PATCH v2 10/76] target/arm: Drop tcg_temp_free from translator-a64.c, Richard Henderson, 2023/02/27
- [PATCH v2 12/76] target/arm: Drop tcg_temp_free from translator-mve.c, Richard Henderson, 2023/02/27
- [PATCH v2 15/76] target/arm: Drop tcg_temp_free from translator-sve.c, Richard Henderson, 2023/02/27
- [PATCH v2 16/76] target/arm: Drop tcg_temp_free from translator-vfp.c, Richard Henderson, 2023/02/27
- [PATCH v2 17/76] target/arm: Drop tcg_temp_free from translator.h, Richard Henderson, 2023/02/27
- [PATCH v2 14/76] target/arm: Drop tcg_temp_free from translator-sme.c, Richard Henderson, 2023/02/27
- [PATCH v2 18/76] target/avr: Drop DisasContext.free_skip_var0, Richard Henderson, 2023/02/27
- [PATCH v2 22/76] target/cris: Drop cris_alu_m_free_temps, Richard Henderson, 2023/02/27
- [PATCH v2 19/76] target/avr: Drop R from trans_COM, Richard Henderson, 2023/02/27
- [PATCH v2 20/76] target/avr: Drop tcg_temp_free, Richard Henderson, 2023/02/27
- [PATCH v2 23/76] target/cris: Drop addr from dec10_ind_move_m_pr,
Richard Henderson <=
- [PATCH v2 24/76] target/cris: Drop tcg_temp_free, Richard Henderson, 2023/02/27
- [PATCH v2 21/76] target/cris: Drop cris_alu_free_temps, Richard Henderson, 2023/02/27
- [PATCH v2 25/76] target/hexagon: Drop tcg_temp_free from C code, Richard Henderson, 2023/02/27
- [PATCH v2 26/76] target/hexagon: Drop tcg_temp_free from gen_tcg_funcs.py, Richard Henderson, 2023/02/27
- [PATCH v2 27/76] target/hexagon/idef-parser: Drop tcg_temp_free, Richard Henderson, 2023/02/27
- [PATCH v2 28/76] target/hexagon/idef-parser: Drop HexValue.is_manual, Richard Henderson, 2023/02/27