mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 11:39:53 +00:00
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:
parent
789f88d0b2
commit
5823947f9f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user