On 06/30/2017 07:36 AM, Pranith Kumar wrote:
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: Richard Henderson<r...@twiddle.net>
CC: Alex Bennée<alex.ben...@linaro.org>
Signed-off-by: Pranith Kumar<bobby.pr...@gmail.com>
---
  accel/tcg/translate-all.c    |  2 +-
  tcg/aarch64/tcg-target.inc.c | 36 ++++++++++++++++++++++++++++++------
  2 files changed, 31 insertions(+), 7 deletions(-)

Reviewed-by: Richard Henderson <r...@twiddle.net>


r~

Reply via email to