qemu-arm
[Top][All Lists]
Advanced

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

Re: [PATCH 7/7] target/arm: Implement FEAT_HBC


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 7/7] target/arm: Implement FEAT_HBC
Date: Mon, 11 Sep 2023 17:01:12 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.0

On 11/9/23 15:53, Peter Maydell wrote:
FEAT_HBC (Hinted conditional branches) provides a new instruction
BC.cond, which behaves exactly like the existing B.cond except
that it provides a hint to the branch predictor about the
likely behaviour of the branch.

Since QEMU does not implement branch prediction, we can treat
this identically to B.cond.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
  docs/system/arm/emulation.rst  | 1 +
  target/arm/cpu.h               | 5 +++++
  target/arm/tcg/a64.decode      | 3 ++-
  linux-user/elfload.c           | 1 +
  target/arm/tcg/cpu64.c         | 4 ++++
  target/arm/tcg/translate-a64.c | 4 ++++
  6 files changed, 17 insertions(+), 1 deletion(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

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