On Sun, 1 May 2022 at 08:16, Richard Henderson <richard.hender...@linaro.org> wrote: > > There is no branch prediction in TCG, therefore there is no > need to actually include the context number into the predictor. > Therefore all we need to do is add the state for SCXTNUM_ELx. > > Signed-off-by: Richard Henderson <richard.hender...@linaro.org> > --- > v2: Update emulation.rst; clear CSV2_FRAC; use decimal; tidy access_scxtnum. > v3: Rely on EL3-no-EL2 squashing during registration. > --- > docs/system/arm/emulation.rst | 3 ++ > target/arm/cpu.h | 16 +++++++++ > target/arm/cpu64.c | 3 +- > target/arm/helper.c | 61 ++++++++++++++++++++++++++++++++++- > 4 files changed, 81 insertions(+), 2 deletions(-)
Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> (The handling of SCXTNUM_EL0 should Just Work for user-mode-only, right?) thanks -- PMM