diff options
author | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2010-02-15 12:15:07 +0100 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2010-02-15 12:15:07 +0100 |
commit | 46e246c911651b79323e7865d4114311cab0260b (patch) | |
tree | 1340475edce098b90f22edb5404851d1f5ae7a76 /target-cris/translate.c | |
parent | 7a9773563c99a86aec454f9e14f7a19ca1f87659 (diff) | |
download | qemu-46e246c911651b79323e7865d4114311cab0260b.zip qemu-46e246c911651b79323e7865d4114311cab0260b.tar.gz qemu-46e246c911651b79323e7865d4114311cab0260b.tar.bz2 |
cris: Use tcg_gen_movi_tl.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'target-cris/translate.c')
-rw-r--r-- | target-cris/translate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-cris/translate.c b/target-cris/translate.c index a236b44..91e3972 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; } |