OSDN Git Service

target/nios2: Split out helper for eret instruction
authorAmir Gonnen <amir.gonnen@neuroblade.ai>
Thu, 21 Apr 2022 15:16:48 +0000 (08:16 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 26 Apr 2022 15:16:41 +0000 (08:16 -0700)
commit8d855c89d1030ddf3d9093d6775fbc338a0b89cb
tree0f1aa4ec0c662b7f17470fe70976c9c643eb18e9
parent17a406eec574e6e97fa7d5c70047026502a358cb
target/nios2: Split out helper for eret instruction

The implementation of eret will become much more complex
with the introduction of shadow registers.

[rth: Split out of a larger patch for shadow register sets.
      Directly exit to the cpu loop from the helper.]

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Amir Gonnen <amir.gonnen@neuroblade.ai>
Message-Id: <20220303153906.2024748-3-amir.gonnen@neuroblade.ai>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220421151735.31996-18-richard.henderson@linaro.org>
target/nios2/helper.h
target/nios2/op_helper.c
target/nios2/translate.c