aboutsummaryrefslogtreecommitdiff
path: root/target-cris
diff options
context:
space:
mode:
Diffstat (limited to 'target-cris')
-rw-r--r--target-cris/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-cris/translate.c b/target-cris/translate.c
index 4934309..f5a7bf4 100644
--- a/target-cris/translate.c
+++ b/target-cris/translate.c
@@ -951,7 +951,7 @@ static void cris_alu(DisasContext *dc, int op,
tcg_gen_andi_tl(d, d, ~0xffff);
tcg_gen_or_tl(d, d, tmp);
}
- if (tmp != d)
+ if (GET_TCGV(tmp) != GET_TCGV(d))
tcg_temp_free(tmp);
}