qemu-arm
[Top][All Lists]
Advanced

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

Re: [PATCH 10/14] target/arm: Define new TB flag for ATA0


From: Richard Henderson
Subject: Re: [PATCH 10/14] target/arm: Define new TB flag for ATA0
Date: Sat, 9 Sep 2023 09:03:36 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0

On 9/7/23 09:03, Peter Maydell wrote:
Currently the only tag-setting instructions always do so in the
context of the current EL, and so we only need one ATA bit in the TB
flags.  The FEAT_MOPS SETG instructions include ones which set tags
for a non-privileged access, so we now also need the equivalent "are
tags enabled?" information for EL0.

Add the new TB flag, and convert the existing 'bool ata' field in
DisasContext to a 'bool ata[2]' that can be indexed by the is_unpriv
bit in an instruction, similarly to mte[2].

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
  target/arm/cpu.h               |  1 +
  target/arm/tcg/translate.h     |  4 ++--
  target/arm/tcg/hflags.c        | 12 ++++++++++++
  target/arm/tcg/translate-a64.c | 23 ++++++++++++-----------
  4 files changed, 27 insertions(+), 13 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

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