diff options
author | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2011-01-21 23:12:42 +0100 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2011-01-21 23:12:42 +0100 |
commit | 5823947f9f1e55fb6599c9ed769ce25cdec38355 (patch) | |
tree | 5f66773765b7e0aa3785bd155e5e06c0ccff1305 /target-ppc | |
parent | 789f88d0b21fedfd4251d56bb7a9fbfbda7a4ac7 (diff) | |
download | qemu-5823947f9f1e55fb6599c9ed769ce25cdec38355.zip qemu-5823947f9f1e55fb6599c9ed769ce25cdec38355.tar.gz qemu-5823947f9f1e55fb6599c9ed769ce25cdec38355.tar.bz2 |
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>
Diffstat (limited to 'target-ppc')
-rw-r--r-- | target-ppc/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-ppc/translate.c b/target-ppc/translate.c index 74e06d7..89413c5 100644 --- a/target-ppc/translate.c +++ b/target-ppc/translate.c @@ -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; |