aboutsummaryrefslogtreecommitdiff
path: root/target/hexagon/genptr.c
diff options
context:
space:
mode:
authorTaylor Simpson <tsimpson@quicinc.com>2021-06-01 18:19:44 -0500
committerTaylor Simpson <tsimpson@quicinc.com>2021-06-29 11:32:50 -0500
commitfb858fb76b1b2dfdf64f82669df1270c0c19a033 (patch)
treeb8b5f364f9702fccb13984bb6f67061eb8e179d1 /target/hexagon/genptr.c
parent88725336717ab93a194bd1b100179b6a96983988 (diff)
Hexagon (target/hexagon) remove unused TCG variables
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <1622589584-22571-5-git-send-email-tsimpson@quicinc.com>
Diffstat (limited to 'target/hexagon/genptr.c')
-rw-r--r--target/hexagon/genptr.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/target/hexagon/genptr.c b/target/hexagon/genptr.c
index fba5ec6012..7333299615 100644
--- a/target/hexagon/genptr.c
+++ b/target/hexagon/genptr.c
@@ -115,10 +115,7 @@ static void gen_log_reg_write_pair(int rnum, TCGv_i64 val)
static inline void gen_log_pred_write(DisasContext *ctx, int pnum, TCGv val)
{
- TCGv zero = tcg_const_tl(0);
TCGv base_val = tcg_temp_new();
- TCGv and_val = tcg_temp_new();
- TCGv pred_written = tcg_temp_new();
tcg_gen_andi_tl(base_val, val, 0xff);
@@ -137,10 +134,7 @@ static inline void gen_log_pred_write(DisasContext *ctx, int pnum, TCGv val)
}
tcg_gen_ori_tl(hex_pred_written, hex_pred_written, 1 << pnum);
- tcg_temp_free(zero);
tcg_temp_free(base_val);
- tcg_temp_free(and_val);
- tcg_temp_free(pred_written);
}
static inline void gen_read_p3_0(TCGv control_reg)