[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 02/33] target/nios2: Stop generating code if gen_check_sup
From: |
Peter Maydell |
Subject: |
Re: [PATCH v4 02/33] target/nios2: Stop generating code if gen_check_supervisor fails |
Date: |
Tue, 8 Mar 2022 09:48:48 +0000 |
On Tue, 8 Mar 2022 at 07:20, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> Whether the cpu is in user-mode or not is something that we
> know at translation-time. We do not need to generate code
> after having raised an exception.
>
> Suggested-by: Peter Maydell <peter.maydell@linaro.org>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> target/nios2/translate.c | 20 +++++++++++++++-----
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM
- [PATCH v4 00/33] target/nios2: Shadow register set, EIC and VIC, Richard Henderson, 2022/03/08
- [PATCH v4 06/33] target/nios2: Do not create TCGv for control registers, Richard Henderson, 2022/03/08
- [PATCH v4 01/33] target/nios2: Check supervisor on eret, Richard Henderson, 2022/03/08
- [PATCH v4 02/33] target/nios2: Stop generating code if gen_check_supervisor fails, Richard Henderson, 2022/03/08
- Re: [PATCH v4 02/33] target/nios2: Stop generating code if gen_check_supervisor fails,
Peter Maydell <=
- [PATCH v4 03/33] target/nios2: Add NUM_GP_REGS and NUM_CP_REGS, Richard Henderson, 2022/03/08
- [PATCH v4 07/33] linux-user/nios2: Trim target_pc_regs to sp and pc, Richard Henderson, 2022/03/08
- [PATCH v4 08/33] target/nios2: Remove cpu_interrupts_enabled, Richard Henderson, 2022/03/08
- [PATCH v4 09/33] target/nios2: Split control registers away from general registers, Richard Henderson, 2022/03/08
- [PATCH v4 05/33] target/nios2: Split out helper for eret instruction, Richard Henderson, 2022/03/08