[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 29/60] target/arm: Change cpreg access permissions to enum
From: |
Peter Maydell |
Subject: |
Re: [PATCH v3 29/60] target/arm: Change cpreg access permissions to enum |
Date: |
Fri, 22 Apr 2022 10:52:21 +0100 |
On Sun, 17 Apr 2022 at 19:15, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> Create a typedef as well, and use it in ARMCPRegInfo.
> This won't be perfect for debugging, but it'll nicely
> display the most common cases.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> @@ -8741,8 +8741,7 @@ void define_one_arm_cp_reg_with_opaque(ARMCPU *cpu,
> break;
> default:
> /* broken reginfo with out-of-range opc1 */
> - assert(false);
> - break;
> + g_assert_not_reached();
> }
> /* assert our permissions are not too lax (stricter is fine) */
> assert((r->access & ~mask) == 0);
This part is an unrelated change and should be a separate patch.
Otherwise
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM
- Re: [PATCH v3 10/60] target/arm: Remove fpexc32_access, (continued)
- [PATCH v3 12/60] target/arm: Split out gen_rebuild_hflags, Richard Henderson, 2022/04/17
- [PATCH v3 13/60] target/arm: Use tcg_constant in translate-a64.c, Richard Henderson, 2022/04/17
- [PATCH v3 20/60] target/arm: Use smin/smax for do_sat_addsub_32, Richard Henderson, 2022/04/17
- [PATCH v3 22/60] target/arm: Use tcg_constant in translate-vfp.c, Richard Henderson, 2022/04/17
- [PATCH v3 29/60] target/arm: Change cpreg access permissions to enum, Richard Henderson, 2022/04/17
- Re: [PATCH v3 29/60] target/arm: Change cpreg access permissions to enum,
Peter Maydell <=
- [PATCH v3 21/60] target/arm: Use tcg_constant in translate-sve.c, Richard Henderson, 2022/04/17
- [PATCH v3 25/60] target/arm: Reorg CPAccessResult and access_check_cp_reg, Richard Henderson, 2022/04/17
- [PATCH v3 27/60] target/arm: Make some more cpreg data static const, Richard Henderson, 2022/04/17
- [PATCH v3 24/60] target/arm: Split out cpregs.h, Richard Henderson, 2022/04/17