Skip to contentSkip to conversation

Fix TANDC and TORC instructions.

PATCH In review Filip Navara 1 participant 1 message Jul 19, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 9/18 Fix TANDC and TORC instructions.

Uninitialized register was used instead of proper TCG variable.

---
 target-arm/translate.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
target-arm/translate.c +2 -0
index 52b417d..1d68980 100644
@@ -1899,6 +1899,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 ++) {
@@ -1945,6 +1946,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 ++) {
Signature · 1 line
1.6.3.2.1299.gee46c