aboutsummaryrefslogtreecommitdiff
path: root/target-ppc
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-15 22:25:21 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-15 22:25:21 +0000
commited69522cafef8b22c8411e38141751d23af90334 (patch)
tree646ca2a9a9af2405b4b03f84c5c1cc80cbe65d61 /target-ppc
parent3d3a6a0a48136117b8cd45dc9b1a88e7e3927d87 (diff)
PPC: fix dcbi instruction
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5495 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc')
-rw-r--r--target-ppc/translate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-ppc/translate.c b/target-ppc/translate.c
index 2759eb2d81..96b3699e74 100644
--- a/target-ppc/translate.c
+++ b/target-ppc/translate.c
@@ -3759,6 +3759,7 @@ GEN_HANDLER(dcbi, 0x1F, 0x16, 0x0E, 0x03E00001, PPC_CACHE)
}
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);