Skip to contentSkip to conversation

[5495] PPC: fix dcbi instruction

Qemu-devel Aurelien Jarno 1 participant 1 message Oct 15, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 5495

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5495
Author:   aurel32
Date:     2008-10-15 22:25:21 +0000 (Wed, 15 Oct 2008)

Log Message:
-----------
PPC: fix dcbi instruction

Modified Paths:
--------------
trunk/target-ppc/translate.c

Modified: trunk/target-ppc/translate.c
===================================================================

target-ppc/translate.c +1 -0
@@ -3759,6 +3759,7 @@
     }
     EA = tcg_temp_new(TCG_TYPE_TL);
     gen_addr_reg_index(EA, ctx);
+    val = tcg_temp_new(TCG_TYPE_TL);
     /* XXX: specification says this should be treated as a store by the MMU */
     gen_qemu_ld8u(val, EA, ctx->mem_idx);
     gen_qemu_st8(val, EA, ctx->mem_idx);