Skip to contentSkip to conversation

Fix rfe instruction

PATCH In review Peter Chubb 2 participants 2 messages May 31, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix rfe instruction

The rfe instruction has been broken since patch 5a839c0d54fac9db0516904db873a4fe01f50f4b because of a typo.

target-arm/translate.c +1 -1
index e5a2e4c..29e8f27 100644
@@ -6798,7 +6798,7 @@ static void disas_arm_insn(CPUARMState * env, DisasContext *s)
             tcg_gen_qemu_ld32u(tmp, addr, 0);
             tcg_gen_addi_i32(addr, addr, 4);
             tmp2 = tcg_temp_new_i32();
-            tcg_gen_qemu_ld32u(tmp, addr, 0);
+            tcg_gen_qemu_ld32u(tmp2, addr, 0);
             if (insn & (1 << 21)) {
                 /* Base writeback.  */
                 switch (i) {

--
Dr Peter Chubb peter.chubb AT nicta.com.au
http://www.ssrg.nicta.com.au Software Systems Research Group/NICTA