Commit 5823947f authored by Edgar E. Iglesias's avatar Edgar E. Iglesias
Browse files

ppc: Correct BookE tlb reads

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

Signed-off-by: default avatarEdgar E. Iglesias <>
parent 789f88d0
......@@ -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)]);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment