From 46e246c911651b79323e7865d4114311cab0260b Mon Sep 17 00:00:00 2001 From: "Edgar E. Iglesias" Date: Mon, 15 Feb 2010 12:15:07 +0100 Subject: [PATCH] cris: Use tcg_gen_movi_tl. Signed-off-by: Edgar E. Iglesias --- target-cris/translate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target-cris/translate.c b/target-cris/translate.c index a236b444ad..91e3972e1a 100644 --- a/target-cris/translate.c +++ b/target-cris/translate.c @@ -1381,7 +1381,7 @@ static unsigned int dec_moveq(DisasContext *dc) imm = sign_extend(dc->op1, 5); LOG_DIS("moveq %d, $r%u\n", imm, dc->op2); - tcg_gen_mov_tl(cpu_R[dc->op2], tcg_const_tl(imm)); + tcg_gen_movi_tl(cpu_R[dc->op2], imm); return 2; } static unsigned int dec_subq(DisasContext *dc) @@ -2723,7 +2723,7 @@ static unsigned int dec_lapc_im(DisasContext *dc) pc = dc->pc; pc += imm; - t_gen_mov_reg_TN(rd, tcg_const_tl(pc)); + tcg_gen_movi_tl(cpu_R[rd], pc); return 6; }