]> git.proxmox.com Git - qemu.git/commitdiff
ppc: Correct BookE tlb reads
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>
Fri, 21 Jan 2011 22:12:42 +0000 (23:12 +0100)
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>
Fri, 21 Jan 2011 22:12:42 +0000 (23:12 +0100)
Call the tlb read helper (and not the write helper) for tlb
reads.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
target-ppc/translate.c

index 74e06d733dc6a8111ae00c4b767fca446fcd9e10..89413c5395e7c0839d9f7152e97c8e9498d94682 100644 (file)
@@ -5874,7 +5874,7 @@ static void gen_tlbre_440(DisasContext *ctx)
     case 2:
         {
             TCGv_i32 t0 = tcg_const_i32(rB(ctx->opcode));
-            gen_helper_440_tlbwe(t0, cpu_gpr[rD(ctx->opcode)], cpu_gpr[rA(ctx->opcode)]);
+            gen_helper_440_tlbre(cpu_gpr[rD(ctx->opcode)], t0, cpu_gpr[rA(ctx->opcode)]);
             tcg_temp_free_i32(t0);
         }
         break;