]> Git Repo - qemu.git/commitdiff
Fix "blx lr" (Lauro Venancio).
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 11 Jun 2007 18:59:35 +0000 (18:59 +0000)
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 11 Jun 2007 18:59:35 +0000 (18:59 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2979 c046a42c-6fe2-441c-8c8c-71466251a162

target-arm/translate.c

index 246839d1f336778814db66fc3c1558b0173b890d..3ce93f89b113870f55cdab6bd40a7dd6853b84e3 100644 (file)
@@ -2325,9 +2325,9 @@ static void disas_arm_insn(CPUState * env, DisasContext *s)
 
             /* branch link/exchange thumb (blx) */
             val = (uint32_t)s->pc;
-            gen_op_movl_T0_im(val);
-            gen_movl_reg_T0(s, 14);
+            gen_op_movl_T1_im(val);
             gen_movl_T0_reg(s, rm);
+            gen_movl_reg_T1(s, 14);
             gen_bx(s);
             break;
         case 0x5: /* saturating add/subtract */
This page took 0.042594 seconds and 4 git commands to generate.