qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v7 57/64] target/nios2: Advance pc when raising exceptions


From: Peter Maydell
Subject: Re: [PATCH v7 57/64] target/nios2: Advance pc when raising exceptions
Date: Fri, 22 Apr 2022 14:00:22 +0100

On Thu, 21 Apr 2022 at 17:51, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> The exception return address for nios2 is the instruction
> after the one that was executing at the time of the exception.
>
> We have so far implemented this by advancing the pc during the
> process of raising the exception.  It is perhaps a little less
> confusing to do this advance in the translator (and helpers)
> when raising the exception in the first place, so that we may
> more closely match kernel sources.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]