]> git.ipfire.org Git - thirdparty/qemu.git/commit
target-sparc: Split out gen_branch_n
authorRichard Henderson <rth@twiddle.net>
Mon, 31 Aug 2015 20:01:47 +0000 (13:01 -0700)
committerRichard Henderson <rth@twiddle.net>
Wed, 7 Oct 2015 09:36:48 +0000 (20:36 +1100)
commit2bf2e019ed0a6349220620240c0ba807846793b9
tree35ec1e70f1d8967253a47523ebe6273a0edb6a6b
parentbfa31b765798139804ce9e5e35c7e142d233df31
target-sparc: Split out gen_branch_n

Unify three copies of this code from different
branch types.  Fix the case when npc == DYNAMIC_PC,
i.e. a branch within a delay slot.

Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
target-sparc/translate.c