Commit ed69522cafef8b22c8411e38141751d23af90334

Authored by aurel32
1 parent 3d3a6a0a

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
Showing 1 changed file with 1 additions and 0 deletions
target-ppc/translate.c
... ... @@ -3759,6 +3759,7 @@ GEN_HANDLER(dcbi, 0x1F, 0x16, 0x0E, 0x03E00001, PPC_CACHE)
3759 3759 }
3760 3760 EA = tcg_temp_new(TCG_TYPE_TL);
3761 3761 gen_addr_reg_index(EA, ctx);
  3762 + val = tcg_temp_new(TCG_TYPE_TL);
3762 3763 /* XXX: specification says this should be treated as a store by the MMU */
3763 3764 gen_qemu_ld8u(val, EA, ctx->mem_idx);
3764 3765 gen_qemu_st8(val, EA, ctx->mem_idx);
... ...