[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 34/84] target/cris: Drop addr from dec10_ind_move_m_pr
From: |
Richard Henderson |
Subject: |
[PULL 34/84] target/cris: Drop addr from dec10_ind_move_m_pr |
Date: |
Sun, 5 Mar 2023 16:39:04 -0800 |
This variable is not used, only allocated and freed.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
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
- [PULL 11/84] tcg: Decode the operand to INDEX_op_mb in dumps, (continued)
- [PULL 11/84] tcg: Decode the operand to INDEX_op_mb in dumps, Richard Henderson, 2023/03/05
- [PULL 14/84] target/alpha: Drop tcg_temp_free, Richard Henderson, 2023/03/05
- [PULL 19/84] target/arm: Drop new_tmp_a64, Richard Henderson, 2023/03/05
- [PULL 22/84] target/arm: Drop tcg_temp_free from translator-m-nocp.c, Richard Henderson, 2023/03/05
- [PULL 25/84] target/arm: Drop tcg_temp_free from translator-sme.c, Richard Henderson, 2023/03/05
- [PULL 26/84] target/arm: Drop tcg_temp_free from translator-sve.c, Richard Henderson, 2023/03/05
- [PULL 24/84] target/arm: Drop tcg_temp_free from translator-neon.c, Richard Henderson, 2023/03/05
- [PULL 27/84] target/arm: Drop tcg_temp_free from translator-vfp.c, Richard Henderson, 2023/03/05
- [PULL 29/84] target/avr: Drop DisasContext.free_skip_var0, Richard Henderson, 2023/03/05
- [PULL 28/84] target/arm: Drop tcg_temp_free from translator.h, Richard Henderson, 2023/03/05
- [PULL 34/84] target/cris: Drop addr from dec10_ind_move_m_pr,
Richard Henderson <=
- [PULL 39/84] target/hexagon/idef-parser: Drop HexValue.is_manual, Richard Henderson, 2023/03/05
- [PULL 36/84] target/hexagon: Drop tcg_temp_free from C code, Richard Henderson, 2023/03/05
- [PULL 31/84] target/avr: Drop tcg_temp_free, Richard Henderson, 2023/03/05
- [PULL 12/84] tcg: Remove tcg_check_temp_count, tcg_clear_temp_count, Richard Henderson, 2023/03/05
- [PULL 32/84] target/cris: Drop cris_alu_free_temps, Richard Henderson, 2023/03/05
- [PULL 35/84] target/cris: Drop tcg_temp_free, Richard Henderson, 2023/03/05
- [PULL 15/84] target/arm: Remove arm_free_cc, a64_free_cc, Richard Henderson, 2023/03/05
- [PULL 21/84] target/arm: Drop tcg_temp_free from translator-a64.c, Richard Henderson, 2023/03/05
- [PULL 23/84] target/arm: Drop tcg_temp_free from translator-mve.c, Richard Henderson, 2023/03/05
- [PULL 33/84] target/cris: Drop cris_alu_m_free_temps, Richard Henderson, 2023/03/05