Re: [PATCH v2 1/8] linux-user/nios2: Hoist pc advance to the top of EXCP_TRAP

2022-03-26 Thread Richard Henderson
On 3/26/22 06:50, Peter Maydell wrote: On Fri, 25 Mar 2022 at 19:52, Richard Henderson wrote: Note that this advance *should* be done by the translator, as that's the pc value that's supposed to be generated by hardware. However, that's a much larger change across sysemu as well. In the meant

Re: [PATCH v2 1/8] linux-user/nios2: Hoist pc advance to the top of EXCP_TRAP

2022-03-26 Thread Richard Henderson
On 3/26/22 07:24, Richard Henderson wrote: Note that this advance *should* be done by the translator, as that's the pc value that's supposed to be generated by hardware. However, that's a much larger change across sysemu as well. In the meantime, produce the correct PC for any signals raised by

[PATCH v2 1/8] linux-user/nios2: Hoist pc advance to the top of EXCP_TRAP

2022-03-26 Thread Richard Henderson
Note that this advance *should* be done by the translator, as that's the pc value that's supposed to be generated by hardware. However, that's a much larger change across sysemu as well. In the meantime, produce the correct PC for any signals raised by the trap instruction. Signed-off-by: Richard

Re: [PATCH v2 1/8] linux-user/nios2: Hoist pc advance to the top of EXCP_TRAP

2022-03-26 Thread Peter Maydell
On Fri, 25 Mar 2022 at 19:52, Richard Henderson wrote: > > Note that this advance *should* be done by the translator, as > that's the pc value that's supposed to be generated by hardware. > However, that's a much larger change across sysemu as well. > > In the meantime, produce the correct PC for

[PATCH v2 1/8] linux-user/nios2: Hoist pc advance to the top of EXCP_TRAP

2022-03-25 Thread Richard Henderson
Note that this advance *should* be done by the translator, as that's the pc value that's supposed to be generated by hardware. However, that's a much larger change across sysemu as well. In the meantime, produce the correct PC for any signals raised by the trap instruction. Signed-off-by: Richard