Re: [PATCH v4 02/33] target/nios2: Stop generating code if gen_check_supervisor fails

2022-03-08 Thread Peter Maydell
On Tue, 8 Mar 2022 at 07:20, Richard Henderson 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 > Signed-off-by: Richard Henderson > --- > targe

[PATCH v4 02/33] target/nios2: Stop generating code if gen_check_supervisor fails

2022-03-07 Thread Richard Henderson
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 Signed-off-by: Richard Henderson --- target/nios2/translate.c | 20 +++- 1 file changed, 15 insert