]> git.proxmox.com Git - mirror_qemu.git/commit - target/nios2/translate.c
target/nios2: Use pc_next for pc + 4
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 28 Jun 2021 21:20:55 +0000 (14:20 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 29 Jun 2021 17:03:11 +0000 (10:03 -0700)
commit77b42a2d53e27144451ca9b5de628bfe86edde1b
tree5fc9314c911cbe1c3434a8f7c7179005fdd48bd1
parent1ff375d743724d4a31b6cebcf97961e24645eb71
target/nios2: Use pc_next for pc + 4

We have pre-computed the next instruction address into
dc->base.pc_next, so we might as well use it.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/nios2/translate.c