]> Git Repo - qemu.git/commitdiff
target-arm: fix TANDC and TORC instructions
authorFilip Navara <[email protected]>
Thu, 15 Oct 2009 10:55:26 +0000 (12:55 +0200)
committerAurelien Jarno <[email protected]>
Sat, 17 Oct 2009 21:52:17 +0000 (23:52 +0200)
Uninitialized register was used instead of proper TCG variable.

Signed-off-by: Filip Navara <[email protected]>
Signed-off-by: Aurelien Jarno <[email protected]>
target-arm/translate.c

index 8c5afb72340bc2e3377d716c1b86838ab77e2a04..454d67f9a89f2611f57ebfd90c61e5b3f7f8c99c 100644 (file)
@@ -1898,6 +1898,7 @@ static int disas_iwmmxt_insn(CPUState *env, DisasContext *s, uint32_t insn)
         if ((insn & 0x000ff00f) != 0x0003f000)
             return 1;
         gen_op_iwmmxt_movl_T1_wCx(ARM_IWMMXT_wCASF);
+        gen_op_movl_T0_T1();
         switch ((insn >> 22) & 3) {
         case 0:
             for (i = 0; i < 7; i ++) {
@@ -1944,6 +1945,7 @@ static int disas_iwmmxt_insn(CPUState *env, DisasContext *s, uint32_t insn)
         if ((insn & 0x000ff00f) != 0x0003f000)
             return 1;
         gen_op_iwmmxt_movl_T1_wCx(ARM_IWMMXT_wCASF);
+        gen_op_movl_T0_T1();
         switch ((insn >> 22) & 3) {
         case 0:
             for (i = 0; i < 7; i ++) {
This page took 0.042802 seconds and 4 git commands to generate.