[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 03/45] target/arm: Trap non-streaming usage when Streaming
From: |
Peter Maydell |
Subject: |
Re: [PATCH v5 03/45] target/arm: Trap non-streaming usage when Streaming SVE is active |
Date: |
Wed, 6 Jul 2022 17:14:40 +0100 |
On Wed, 6 Jul 2022 at 09:38, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> This new behaviour is in the ARM pseudocode function
> AArch64.CheckFPAdvSIMDEnabled, which applies to AArch32
> via AArch32.CheckAdvSIMDOrFPEnabled when the EL to which
> the trap would be delivered is in AArch64 mode.
>
> Given that ARMv9 drops support for AArch32 outside EL0, the trap EL
> detection ought to be trivially true, but the pseudocode still contains
> a number of conditions, and QEMU has not yet committed to dropping A32
> support for EL[12] when v9 features are present.
>
> Since the computation of SME_TRAP_NONSTREAMING is necessarily different
> for the two modes, we might as well preserve bits within TBFLAG_ANY and
> allocate separate bits within TBFLAG_A32 and TBFLAG_A64 instead.
>
> Note that DDI0616A.a has typos for bits [22:21] of LD1RO in the table
> of instructions illegal in streaming mode.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM
- [PATCH v5 00/45] target/arm: Scalable Matrix Extension, Richard Henderson, 2022/07/06
- [PATCH v5 01/45] target/arm: Handle SME in aarch64_cpu_dump_state, Richard Henderson, 2022/07/06
- [PATCH v5 02/45] target/arm: Add infrastructure for disas_sme, Richard Henderson, 2022/07/06
- [PATCH v5 06/45] target/arm: Mark BDEP, BEXT, BGRP, COMPACT, FEXPA, FTSSEL as non-streaming, Richard Henderson, 2022/07/06
- [PATCH v5 05/45] target/arm: Mark RDFFR, WRFFR, SETFFR as non-streaming, Richard Henderson, 2022/07/06
- [PATCH v5 07/45] target/arm: Mark PMULL, FMMLA as non-streaming, Richard Henderson, 2022/07/06
- [PATCH v5 09/45] target/arm: Mark SMMLA, UMMLA, USMMLA as non-streaming, Richard Henderson, 2022/07/06
- [PATCH v5 03/45] target/arm: Trap non-streaming usage when Streaming SVE is active, Richard Henderson, 2022/07/06
- Re: [PATCH v5 03/45] target/arm: Trap non-streaming usage when Streaming SVE is active,
Peter Maydell <=
- [PATCH v5 08/45] target/arm: Mark FTSMUL, FTMAD, FADDA as non-streaming, Richard Henderson, 2022/07/06
- [PATCH v5 12/45] target/arm: Mark gather prefetch as non-streaming, Richard Henderson, 2022/07/06
- [PATCH v5 13/45] target/arm: Mark LDFF1 and LDNF1 as non-streaming, Richard Henderson, 2022/07/06
- [PATCH v5 16/45] target/arm: Handle SME in sve_access_check, Richard Henderson, 2022/07/06
- [PATCH v5 04/45] target/arm: Mark ADR as non-streaming, Richard Henderson, 2022/07/06
- [PATCH v5 11/45] target/arm: Mark gather/scatter load/store as non-streaming, Richard Henderson, 2022/07/06
- [PATCH v5 15/45] target/arm: Add SME enablement checks, Richard Henderson, 2022/07/06
- [PATCH v5 14/45] target/arm: Mark LD1RO as non-streaming, Richard Henderson, 2022/07/06
- [PATCH v5 10/45] target/arm: Mark string/histo/crypto as non-streaming, Richard Henderson, 2022/07/06
- [PATCH v5 17/45] target/arm: Implement SME RDSVL, ADDSVL, ADDSPL, Richard Henderson, 2022/07/06