Skip to content

Commit cfddceb

Browse files
committed
target/mips: Remove unused TCG temporary in gen_mipsdsp_accinsn()
Since gen_mipsdsp_accinsn() got added in commit b53371e ("target-mips: Add ASE DSP accumulator instructions"), the 'v2_t' TCG temporary has never been used. Remove it. Signed-off-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Message-Id: <[email protected]>
1 parent 0e23582 commit cfddceb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

target/mips/tcg/translate.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13616,7 +13616,6 @@ static void gen_mipsdsp_accinsn(DisasContext *ctx, uint32_t op1, uint32_t op2,
1361613616
TCGv t0;
1361713617
TCGv t1;
1361813618
TCGv v1_t;
13619-
TCGv v2_t;
1362013619
int16_t imm;
1362113620

1362213621
if ((ret == 0) && (check_ret == 1)) {
@@ -13627,10 +13626,8 @@ static void gen_mipsdsp_accinsn(DisasContext *ctx, uint32_t op1, uint32_t op2,
1362713626
t0 = tcg_temp_new();
1362813627
t1 = tcg_temp_new();
1362913628
v1_t = tcg_temp_new();
13630-
v2_t = tcg_temp_new();
1363113629

1363213630
gen_load_gpr(v1_t, v1);
13633-
gen_load_gpr(v2_t, v2);
1363413631

1363513632
switch (op1) {
1363613633
case OPC_EXTR_W_DSP:
@@ -13830,7 +13827,6 @@ static void gen_mipsdsp_accinsn(DisasContext *ctx, uint32_t op1, uint32_t op2,
1383013827
tcg_temp_free(t0);
1383113828
tcg_temp_free(t1);
1383213829
tcg_temp_free(v1_t);
13833-
tcg_temp_free(v2_t);
1383413830
}
1383513831

1383613832
/* End MIPSDSP functions. */

0 commit comments

Comments
 (0)