target-mips: Fix compilation
PATCH 1/1 target-mips: Fix compilation
TCGv t1 needs tcg_temp_free instead of tcg_temp_free_i32.
Cc Nathan Froyd <[email protected]>
Cc Aurelien Jarno <[email protected]>
Signed-off-by Stefan Weil <[email protected]>
--- target-mips/translate.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
target-mips/translate.c +1 -1
@@ -9478,7 +9478,7 @@ static void gen_ldst_multiple (DisasContext *ctx, uint32_t opc, int reglist, }MIPS_DEBUG ("%s, %x, %d(%s)" , opn, reglist, offset, regnames[base]);tcg_temp_free (t0); -tcg_temp_free_i32 (t1); +tcg_temp_free (t1);tcg_temp_free_i32 (t2); }
Signature · 1 line
1.7.1
Quoted 8 lines · Stefan Weil
TCGv t1 needs
tcg_temp_freeinstead oftcg_temp_free_i32.Cc Nathan Froyd <[email protected]>Cc Aurelien Jarno <[email protected]>Signed-off-by Stefan Weil <[email protected]>--- target-mips/translate.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Thanks for spotting this, I have just applied the patch.
Quoted 18 lines
target-mips/translate.c +1
-1@@ -9478,7 +9478,7 @@ static void gen_ldst_multiple (DisasContext *ctx, uint32_t opc, int reglist, }MIPS_DEBUG ("%s, %x, %d(%s)" , opn, reglist, offset, regnames[base]);tcg_temp_free (t0); -tcg_temp_free_i32 (t1); +tcg_temp_free (t1);tcg_temp_free_i32 (t2); }Signature · 1 line
1.7.1
Signature · 2 lines
Aurelien Jarno GPG: 1024D/F1BCDB73 [email protected] http://www.aurel32.net