[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 41/45] target/arm: Enable FEAT_CSV2_2 for -cpu max
From: |
Peter Maydell |
Subject: |
Re: [PATCH v4 41/45] target/arm: Enable FEAT_CSV2_2 for -cpu max |
Date: |
Tue, 3 May 2022 18:10:57 +0100 |
On Sun, 1 May 2022 at 08:16, Richard Henderson
<richard.henderson@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.henderson@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.maydell@linaro.org>
(The handling of SCXTNUM_EL0 should Just Work for user-mode-only,
right?)
thanks
-- PMM
- [PATCH v4 35/45] target/arm: Enable SCR and HCR bits for RAS, (continued)
- [PATCH v4 35/45] target/arm: Enable SCR and HCR bits for RAS, Richard Henderson, 2022/05/01
- [PATCH v4 38/45] target/arm: Enable FEAT_RAS for -cpu max, Richard Henderson, 2022/05/01
- [PATCH v4 39/45] target/arm: Enable FEAT_IESB for -cpu max, Richard Henderson, 2022/05/01
- [PATCH v4 37/45] target/arm: Implement ESB instruction, Richard Henderson, 2022/05/01
- [PATCH v4 40/45] target/arm: Enable FEAT_CSV2 for -cpu max, Richard Henderson, 2022/05/01
- [PATCH v4 43/45] target/arm: Enable FEAT_DGH for -cpu max, Richard Henderson, 2022/05/01
- [PATCH v4 44/45] target/arm: Define cortex-a76, Richard Henderson, 2022/05/01
- [PATCH v4 42/45] target/arm: Enable FEAT_CSV3 for -cpu max, Richard Henderson, 2022/05/01
- [PATCH v4 45/45] target/arm: Define neoverse-n1, Richard Henderson, 2022/05/01
- [PATCH v4 41/45] target/arm: Enable FEAT_CSV2_2 for -cpu max, Richard Henderson, 2022/05/01
- Re: [PATCH v4 41/45] target/arm: Enable FEAT_CSV2_2 for -cpu max,
Peter Maydell <=
- Re: [PATCH v4 00/45] target/arm: Cleanups, new features, new cpus, Peter Maydell, 2022/05/03