target/nios2: in line the semantics of DISAS_UPDATE with other targets
commitc7694535718273c5a38c18a0f08e48509ba26e38
authorWentong Wu <wentong.wu@intel.com>
Mon, 13 Jul 2020 13:36:10 +0000 (13 14:36 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 13 Jul 2020 13:36:10 +0000 (13 14:36 +0100)
tree792236adddad9f95a2f811af4c872685453c68ed
parent42928f2c9cd6185e3bda5e214f5c8f3603125ba9
target/nios2: in line the semantics of DISAS_UPDATE with other targets

In line the semantics of DISAS_UPDATE on nios2 target with other targets
which is to explicitly write the PC back into the cpu state before doing
a tcg_gen_exit_tb().

Signed-off-by: Wentong Wu <wentong.wu@intel.com>
Message-id: 20200710233433.19729-2-wentong.wu@intel.com
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/nios2/translate.c