]> git.proxmox.com Git - mirror_qemu.git/commit
tcg/aarch64: Use ADRP+ADD to compute target address
authorPranith Kumar <bobby.prani@gmail.com>
Fri, 30 Jun 2017 14:36:13 +0000 (10:36 -0400)
committerRichard Henderson <rth@twiddle.net>
Mon, 10 Jul 2017 07:10:23 +0000 (21:10 -1000)
commitb68686bd4bfeb70040b4099df993dfa0b4f37b03
tree7e6c83c69cffd2680b5963276eb1b8ad5394a9dc
parent23b7aa1d2af04ba57cc94f74d9f0ab25dce72fa0
tcg/aarch64: Use ADRP+ADD to compute target address

We use ADRP+ADD to compute the target address for goto_tb. This patch
introduces the NOP instruction which is used to align the above
instruction pair so that we can use one atomic instruction to patch
the destination offsets.

CC: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
Message-Id: <20170630143614.31059-2-bobby.prani@gmail.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
accel/tcg/translate-all.c
tcg/aarch64/tcg-target.inc.c