mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
tcg-arm: Fix 64-bit tlb load for pre-v6
Found by inspection, since the effect of the bug was simply to send all memory ops through the slow path. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
29851ee7c8
commit
8ddaeb1be6
1 changed files with 1 additions and 1 deletions
|
@ -1190,7 +1190,7 @@ static void tcg_out_tlb_read(TCGContext *s, TCGReg addrlo, TCGReg addrhi,
|
|||
tcg_out_memop_12(s, COND_AL, INSN_LDR_IMM, TCG_REG_R0,
|
||||
TCG_REG_R2, tlb_offset, 1, 1);
|
||||
if (TARGET_LONG_BITS == 64) {
|
||||
tcg_out_memop_12(s, COND_AL, INSN_LDR_IMM, TCG_REG_R0,
|
||||
tcg_out_memop_12(s, COND_AL, INSN_LDR_IMM, TCG_REG_R1,
|
||||
TCG_REG_R2, 4, 1, 0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue