summaryrefslogtreecommitdiff
path: root/target-cris/translate_v10.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-06-07 18:03:01 +0100
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2014-06-09 01:04:44 +0200
commit08397c4b291b5f1c914a042bd99cda266d886c48 (patch)
tree2e9f7775e2a436ec93b00489e818a35dc479fd43 /target-cris/translate_v10.c
parenta373cdb5cebd58b2e3103e048894ba55910269f6 (diff)
downloadqemu-08397c4b291b5f1c914a042bd99cda266d886c48.tar.gz
target-cris/translate.c: Remove t_gen_mov_TN_reg and t_gen_mov_reg_TN
Remove the t_gen_mov_TN_reg and t_gen_mov_reg_TN wrappers: the latter is completely unused, and the former only used in a few places (which are thus inconsistent with the rest of the decoder which directly accesses cpu_R[]). Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'target-cris/translate_v10.c')
-rw-r--r--target-cris/translate_v10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-cris/translate_v10.c b/target-cris/translate_v10.c
index 2ad2b142a9..efb3639a06 100644
--- a/target-cris/translate_v10.c
+++ b/target-cris/translate_v10.c
@@ -516,7 +516,7 @@ static void dec10_reg_swap(DisasContext *dc)
cris_cc_mask(dc, CC_MASK_NZVC);
t0 = tcg_temp_new();
- t_gen_mov_TN_reg(t0, dc->src);
+ tcg_gen_mov_tl(t0, cpu_R[dc->src]);
if (dc->dst & 8)
tcg_gen_not_tl(t0, t0);
if (dc->dst & 4)