qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v4 2/3] tcg/aarch64: Use ADRP+ADD to compute tar


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH v4 2/3] tcg/aarch64: Use ADRP+ADD to compute target address
Date: Fri, 30 Jun 2017 09:08:38 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0

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<address@hidden>
CC: Alex Bennée<address@hidden>
Signed-off-by: Pranith Kumar<address@hidden>
---
  accel/tcg/translate-all.c    |  2 +-
  tcg/aarch64/tcg-target.inc.c | 36 ++++++++++++++++++++++++++++++------
  2 files changed, 31 insertions(+), 7 deletions(-)

Reviewed-by: Richard Henderson <address@hidden>


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]