ppc: Correct BookE tlb reads

Call the tlb read helper (and not the write helper) for tlb
reads.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
Edgar E. Iglesias 2011-01-21 23:12:42 +01:00
parent 789f88d0b2
commit 5823947f9f

View File

@ -5874,7 +5874,7 @@ static void gen_tlbre_440(DisasContext *ctx)
case 2: case 2:
{ {
TCGv_i32 t0 = tcg_const_i32(rB(ctx->opcode)); 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); tcg_temp_free_i32(t0);
} }
break; break;