diff options
author | Richard Henderson <rth@twiddle.net> | 2015-08-31 13:24:44 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2015-10-07 20:36:49 +1100 |
commit | 6c42444f9a53b6af39d46008cb9f650b11e96cb9 (patch) | |
tree | 268c4a98bab76326a43dbafa7803bdbb381d98bd /arch_init.c | |
parent | 2bf2e019ed0a6349220620240c0ba807846793b9 (diff) |
target-sparc: Remove gen_opc_jump_pc
Since jump_pc[1] is always npc + 4, we can infer after incrementing
that jump_pc[1] == pc + 4. Because of that, we can encode the branch
destination into a single word, and store that in npc.
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'arch_init.c')
0 files changed, 0 insertions, 0 deletions