]> git.proxmox.com Git - mirror_qemu.git/commit - tcg/aarch64/tcg-target.c.inc
tcg/aarch64: Use LDP to load tlb mask+table
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 23 Mar 2019 06:35:26 +0000 (23:35 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 10 Jun 2019 14:03:42 +0000 (07:03 -0700)
commit65b23204d609c5aac819049c2d7314b4abd73122
treecbe4fb2d13593d9f1e89c3f1c902bab7a2e0d923
parente8b5fae5161c48e0d0e8b35eaf9dd8f35d692088
tcg/aarch64: Use LDP to load tlb mask+table

This changes the code generation for the tlb from e.g.

ldur     x0, [x19, #0xffffffffffffffe0]
ldur     x1, [x19, #0xffffffffffffffe8]
and      x0, x0, x20, lsr #8
add      x1, x1, x0
ldr      x0, [x1]
ldr      x1, [x1, #0x18]

to

ldp      x0, x1, [x19, #-0x20]
and      x0, x0, x20, lsr #8
add      x1, x1, x0
ldr      x0, [x1]
ldr      x1, [x1, #0x18]

Acked-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/aarch64/tcg-target.inc.c