]> www.infradead.org Git - users/dwmw2/qemu.git/commit
target/arm: Implement FEAT_HBC
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 15 Sep 2023 14:37:00 +0000 (15:37 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Sep 2023 15:07:13 +0000 (16:07 +0100)
commit3039b090f2058949edf6a7f1c8e793bc309fa6de
treef14ee1a36a3267e5d8c66c0f2b6178a2db861506
parent5f7b71fb99dc98831d9ad077fe1a58a4b119e952
target/arm: Implement FEAT_HBC

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>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
docs/system/arm/emulation.rst
linux-user/elfload.c
target/arm/cpu.h
target/arm/tcg/a64.decode
target/arm/tcg/cpu64.c
target/arm/tcg/translate-a64.c